diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-05 15:11:35 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-05 19:22:01 +1100 |
commit | beaebb7dc7576d69c43e6b1f3aabc83ff312b3fe (patch) | |
tree | e007f3a887fc8b3c676a4f27cd34853eb46efda0 /pkg/gui/status_panel.go | |
parent | 6d5d054c30050bc66c9c3e8697982c6c801a2a62 (diff) |
handling when to show the split panel
Diffstat (limited to 'pkg/gui/status_panel.go')
-rw-r--r-- | pkg/gui/status_panel.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pkg/gui/status_panel.go b/pkg/gui/status_panel.go index de1823a44..ff558f82d 100644 --- a/pkg/gui/status_panel.go +++ b/pkg/gui/status_panel.go @@ -52,6 +52,8 @@ func (gui *Gui) handleStatusSelect(g *gocui.Gui, v *gocui.View) error { return nil } + gui.State.SplitMainPanel = false + if _, err := gui.g.SetCurrentView(v.Name()); err != nil { return err } |