diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-11-28 13:14:48 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-11-28 20:48:17 +1100 |
commit | da3b0bf7c8aa6202d5eb9c8178f6648bc695336a (patch) | |
tree | cd0666ae4253469f8f2f1e349357be37bfb3d571 /pkg/gui/layout.go | |
parent | 90ade3225f55652d40c6f0266e50f5328390f02b (diff) |
Start on supporting auto-suggestions when checking out a branch
switch to other fuzzy package with no dependencies
Diffstat (limited to 'pkg/gui/layout.go')
-rw-r--r-- | pkg/gui/layout.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/gui/layout.go b/pkg/gui/layout.go index 7f2a04315..2594cb9ad 100644 --- a/pkg/gui/layout.go +++ b/pkg/gui/layout.go @@ -277,7 +277,7 @@ func (gui *Gui) layout(g *gocui.Gui) error { initialContext = gui.Contexts.BranchCommits.Context } - if err := gui.switchContext(initialContext); err != nil { + if err := gui.pushContext(initialContext); err != nil { return err } } @@ -351,7 +351,7 @@ func (gui *Gui) onInitialViewsCreation() error { } gui.g.Mutexes.ViewsMutex.Unlock() - if err := gui.switchContext(gui.defaultSideContext()); err != nil { + if err := gui.pushContext(gui.defaultSideContext()); err != nil { return err } |