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/side_window.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/side_window.go')
-rw-r--r-- | pkg/gui/side_window.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/gui/side_window.go b/pkg/gui/side_window.go index 938123492..fc5842dea 100644 --- a/pkg/gui/side_window.go +++ b/pkg/gui/side_window.go @@ -25,7 +25,7 @@ func (gui *Gui) nextSideWindow() error { viewName := gui.getViewNameForWindow(newWindow) - return gui.switchContextToView(viewName) + return gui.pushContextWithView(viewName) } func (gui *Gui) previousSideWindow() error { @@ -51,11 +51,11 @@ func (gui *Gui) previousSideWindow() error { viewName := gui.getViewNameForWindow(newWindow) - return gui.switchContextToView(viewName) + return gui.pushContextWithView(viewName) } func (gui *Gui) goToSideWindow(sideViewName string) func(g *gocui.Gui, v *gocui.View) error { return func(g *gocui.Gui, v *gocui.View) error { - return gui.switchContextToView(sideViewName) + return gui.pushContextWithView(sideViewName) } } |