diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-10-17 17:38:59 +1100 |
---|---|---|
committer | github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> | 2021-10-17 06:41:21 +0000 |
commit | e7c27b6f4aef44a2391dd207e1321008b5d1dcff (patch) | |
tree | 62dee76c82b678a793e1361764e68699998c75af /pkg/gui/view_helpers.go | |
parent | 345c90ac05bffd6e4163be9dabc0386cd8918057 (diff) |
small fixes
Diffstat (limited to 'pkg/gui/view_helpers.go')
-rw-r--r-- | pkg/gui/view_helpers.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/pkg/gui/view_helpers.go b/pkg/gui/view_helpers.go index 50b661a12..abfb65d93 100644 --- a/pkg/gui/view_helpers.go +++ b/pkg/gui/view_helpers.go @@ -340,11 +340,6 @@ func (gui *Gui) secondaryViewFocused() bool { return state != nil && state.SecondaryFocused } -func (gui *Gui) clearEditorView(v *gocui.View) { - v.TextArea.Clear() - v.RenderTextArea() -} - func (gui *Gui) onViewTabClick(viewName string, tabIndex int) error { context := gui.State.ViewTabContextMap[viewName][tabIndex].contexts[0] |