diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2023-03-26 16:33:52 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2023-04-30 13:19:53 +1000 |
commit | f2c85c5b19176a959ac5d98f57749ee6bc9c362b (patch) | |
tree | 4e9578df83dd22464d62deaaf816b4811d2bdf18 /pkg/gui/controllers/helpers | |
parent | 0faa41e6f8e13818c611ad923fa424c83653d06a (diff) |
move side window actions to controllers package
Diffstat (limited to 'pkg/gui/controllers/helpers')
-rw-r--r-- | pkg/gui/controllers/helpers/window_helper.go | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/gui/controllers/helpers/window_helper.go b/pkg/gui/controllers/helpers/window_helper.go index 7c4edf35b..efe84c398 100644 --- a/pkg/gui/controllers/helpers/window_helper.go +++ b/pkg/gui/controllers/helpers/window_helper.go @@ -133,3 +133,7 @@ func (self *WindowHelper) WindowForView(viewName string) string { return context.GetWindowName() } + +func (self *WindowHelper) SideWindows() []string { + return []string{"status", "files", "branches", "commits", "stash"} +} |