diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-25 15:55:49 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2018-08-25 17:32:34 +1000 |
commit | 21f6e9ba87e3513973a62b81e67de253dc8afcde (patch) | |
tree | 6cf786783de0fd38ecd014f04cb33aef5541433b /pkg/gui/view_helpers.go | |
parent | f24c95aedec785985dfcd98ff3997152c193bd3e (diff) |
auto-updates
Diffstat (limited to 'pkg/gui/view_helpers.go')
-rw-r--r-- | pkg/gui/view_helpers.go | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/pkg/gui/view_helpers.go b/pkg/gui/view_helpers.go index 91d81b55e..fd810220b 100644 --- a/pkg/gui/view_helpers.go +++ b/pkg/gui/view_helpers.go @@ -4,7 +4,6 @@ import ( "fmt" "sort" "strings" - "time" "github.com/jesseduffield/gocui" "github.com/jesseduffield/lazygit/pkg/utils" @@ -222,9 +221,6 @@ func (gui *Gui) renderString(g *gocui.Gui, viewName, s string) error { if err != nil { return nil } - if viewName == "appStatus" { - gui.Log.Info(s) - } v.Clear() output := string(bom.Clean([]byte(s))) output = utils.NormalizeLinefeeds(output) @@ -248,14 +244,6 @@ func (gui *Gui) renderOptionsMap(g *gocui.Gui, optionsMap map[string]string) err return gui.renderString(g, "options", gui.optionsMapToString(optionsMap)) } -func (gui *Gui) loader() string { - characters := "|/-\\" - now := time.Now() - nanos := now.UnixNano() - index := nanos / 50000000 % int64(len(characters)) - return characters[index : index+1] -} - // TODO: refactor properly func (gui *Gui) getFilesView(g *gocui.Gui) *gocui.View { v, _ := g.View("files") |