summaryrefslogtreecommitdiffstats
path: root/pkg/gui/arrangement.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2022-02-13 10:48:41 +1100
committerJesse Duffield <jessedduffield@gmail.com>2022-03-17 19:13:40 +1100
commit41527270ed9270ef6c463866e9c761f2285af857 (patch)
treeb46231e732b100701f82acbea7269d8e76f2dd07 /pkg/gui/arrangement.go
parent3188526ecb1e48327249a830173de7ab5ce5978a (diff)
appease linter
Diffstat (limited to 'pkg/gui/arrangement.go')
-rw-r--r--pkg/gui/arrangement.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/gui/arrangement.go b/pkg/gui/arrangement.go
index 9766d7885..11336946f 100644
--- a/pkg/gui/arrangement.go
+++ b/pkg/gui/arrangement.go
@@ -313,6 +313,10 @@ func (gui *Gui) sidePanelChildren(width int, height int) []*boxlayout.Box {
}
}
+func (gui *Gui) getCyclableWindows() []string {
+ return []string{"status", "files", "branches", "commits", "stash"}
+}
+
func (gui *Gui) currentSideWindowName() string {
// there is always one and only one cyclable context in the context stack. We'll look from top to bottom
gui.State.ContextManager.RLock()