diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 12:12:54 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 17:07:49 +1000 |
commit | 4f03d7733ab186d357064f343915ac48ca059940 (patch) | |
tree | 258437fad6568feaafe1c4a19e2a47c66fc92c5c /pkg/gui/arrangement.go | |
parent | e3a14d546aa31851e6ab26dcdb21336ad94365c7 (diff) |
allow showing, hiding, and scrolling the extras panel
Diffstat (limited to 'pkg/gui/arrangement.go')
-rw-r--r-- | pkg/gui/arrangement.go | 5 |
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, |