diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-15 16:54:02 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-15 18:01:43 +1000 |
commit | 50d5b9e8e70f2bb501188ee32208ecad4d042e42 (patch) | |
tree | b4b660d20ca77d2f506ffbe7d46ae74dc5e9df5d /pkg/gui/status_panel.go | |
parent | cc872b0444fa34b24062a1bdb76f2e9a9c71b914 (diff) |
status view
Diffstat (limited to 'pkg/gui/status_panel.go')
-rw-r--r-- | pkg/gui/status_panel.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pkg/gui/status_panel.go b/pkg/gui/status_panel.go index b14dc141c..18f90c2da 100644 --- a/pkg/gui/status_panel.go +++ b/pkg/gui/status_panel.go @@ -81,17 +81,17 @@ func (gui *Gui) handleStatusClick(g *gocui.Gui, v *gocui.View) error { } } - return gui.handleStatusSelect(gui.g, v) + return gui.handleStatusSelect() } -func (gui *Gui) handleStatusSelect(g *gocui.Gui, v *gocui.View) error { +func (gui *Gui) handleStatusSelect() error { if gui.popupPanelFocused() { return nil } gui.State.SplitMainPanel = false - if _, err := gui.g.SetCurrentView(v.Name()); err != nil { + if _, err := gui.g.SetCurrentView("status"); err != nil { return err } |