diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 22:03:55 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 23:36:34 +1000 |
commit | 06a8eb115c100816e3ceccff875010a84416beee (patch) | |
tree | 89eeaf7844d71f312252ff89e538302e9d649084 /pkg/gui/arrangement.go | |
parent | e4f0a470e93e6522757cb8fc215a245de92a8e75 (diff) |
make command log size configurable
Diffstat (limited to 'pkg/gui/arrangement.go')
-rw-r--r-- | pkg/gui/arrangement.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/gui/arrangement.go b/pkg/gui/arrangement.go index f5fd02d23..a788fa8d3 100644 --- a/pkg/gui/arrangement.go +++ b/pkg/gui/arrangement.go @@ -150,7 +150,8 @@ func (gui *Gui) getWindowDimensions(informationStr string, appStatus string) map extrasWindowSize := 0 if gui.ShowExtrasWindow { - extrasWindowSize = 10 + frameSize := 2 + extrasWindowSize = gui.Config.GetUserConfig().Gui.CommandLogSize + frameSize if gui.currentStaticContext().GetKey() == COMMAND_LOG_CONTEXT_KEY { extrasWindowSize = 40 } |