summaryrefslogtreecommitdiffstats
path: root/pkg/gui/arrangement.go
diff options
context:
space:
mode:
authorJesse Duffield <jessedduffield@gmail.com>2021-04-11 12:12:54 +1000
committerJesse Duffield <jessedduffield@gmail.com>2021-04-11 17:07:49 +1000
commit4f03d7733ab186d357064f343915ac48ca059940 (patch)
tree258437fad6568feaafe1c4a19e2a47c66fc92c5c /pkg/gui/arrangement.go
parente3a14d546aa31851e6ab26dcdb21336ad94365c7 (diff)
allow showing, hiding, and scrolling the extras panel
Diffstat (limited to 'pkg/gui/arrangement.go')
-rw-r--r--pkg/gui/arrangement.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/gui/arrangement.go b/pkg/gui/arrangement.go
index 4cd9610f9..8f35ad86d 100644
--- a/pkg/gui/arrangement.go
+++ b/pkg/gui/arrangement.go
@@ -146,7 +146,10 @@ func (gui *Gui) getWindowDimensions(informationStr string, appStatus string) map
mainPanelsDirection = boxlayout.COLUMN
}
- extrasWindowSize := 40 // TODO: make configurable
+ extrasWindowSize := 0
+ if gui.ShowExtrasWindow {
+ extrasWindowSize = 40 // TODO: make configurable
+ }
root := &boxlayout.Box{
Direction: boxlayout.ROW,