diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-01-15 20:12:31 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-01-18 09:32:15 +1100 |
commit | 3a607061a2303d9f45d308de652fbebe7300b43c (patch) | |
tree | 594c779bda9c1b9e078ff12f710c6daf5db78e45 /pkg/gui/gui.go | |
parent | 695b092c4120d41c15ad969a6ea472e38379ebbd (diff) |
Only reset origin in main view when handling the selection of a new filev0.6
Diffstat (limited to 'pkg/gui/gui.go')
-rw-r--r-- | pkg/gui/gui.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/gui.go b/pkg/gui/gui.go index 8ead65be3..ed7cfba0f 100644 --- a/pkg/gui/gui.go +++ b/pkg/gui/gui.go @@ -462,7 +462,7 @@ func (gui *Gui) updateLoader(g *gocui.Gui) error { content := gui.trimmedContent(view) if strings.Contains(content, "...") { staticContent := strings.Split(content, "...")[0] + "..." - if err := gui.synchronousRenderString(g, "confirmation", staticContent+" "+utils.Loader()); err != nil { + if err := gui.setViewContent(g, view, staticContent+" "+utils.Loader()); err != nil { return err } } |