diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 15:01:49 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 17:07:49 +1000 |
commit | 393ce0586056836a48d9122157991d0800afb2f5 (patch) | |
tree | baf2eb58c456388a0cd92fddfde7e53087d3b63a /pkg/gui/arrangement.go | |
parent | cf78b86cb5eae4c502a747238aba983bf9eb298f (diff) |
allow focusing on command log view
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 8f35ad86d..93e49fe46 100644 --- a/pkg/gui/arrangement.go +++ b/pkg/gui/arrangement.go @@ -148,7 +148,10 @@ func (gui *Gui) getWindowDimensions(informationStr string, appStatus string) map extrasWindowSize := 0 if gui.ShowExtrasWindow { - extrasWindowSize = 40 // TODO: make configurable + extrasWindowSize = 10 + if gui.currentStaticContext().GetKey() == COMMAND_LOG_CONTEXT_KEY { + extrasWindowSize = 40 + } } root := &boxlayout.Box{ |