summaryrefslogtreecommitdiffstats
path: root/pkg/gui/window.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2020-08-23 10:13:56 +1000
committerJesse Duffield <jessedduffield@gmail.com>2020-08-23 14:29:18 +1000
commitade54b38c12079ba133e9c8810af2a3760afb0f3 (patch)
tree791315bd05894635ac0dee3f0e6b9c1acbea8f90 /pkg/gui/window.go
parent0dd2c869a8808e937c69f8ce0ba04015e5a9075e (diff)
cleanup
Diffstat (limited to 'pkg/gui/window.go')
-rw-r--r--pkg/gui/window.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/window.go b/pkg/gui/window.go
index 8931ff07b..c3fffc637 100644
--- a/pkg/gui/window.go
+++ b/pkg/gui/window.go
@@ -4,7 +4,7 @@ package gui
// A view is a box that renders content, and within a window only one view will
// appear at a time. When a view appears within a window, it occupies the whole
// space. Right now most windows are 1:1 with views, except for commitFiles which
-// is a view belonging to the 'commits' window, alongside the 'commits' view.
+// is a view that moves between windows
func (gui *Gui) getViewNameForWindow(window string) string {
viewName, ok := gui.State.WindowViewNameMap[window]