diff options
Diffstat (limited to 'pkg/gui/view_helpers.go')
-rw-r--r-- | pkg/gui/view_helpers.go | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/pkg/gui/view_helpers.go b/pkg/gui/view_helpers.go index 137e0e96f..df3dc5ece 100644 --- a/pkg/gui/view_helpers.go +++ b/pkg/gui/view_helpers.go @@ -368,16 +368,3 @@ func (gui *Gui) clearEditorView(v *gocui.View) { _ = v.SetCursor(0, 0) _ = v.SetOrigin(0, 0) } - -func (gui *Gui) splitMainPanel(state bool) { - gui.State.SplitMainPanel = state - - // no need to set view on bottom when state is false: it will have zero size anyway thanks to our view arrangement code. - if state { - _, _ = gui.g.SetViewOnTop("secondary") - } -} - -func (gui *Gui) isMainPanelSplit() bool { - return gui.State.SplitMainPanel -} |