diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-10 13:08:51 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-04-11 17:07:49 +1000 |
commit | e145090046e1693e2100cb0a0ab40a271705f4b0 (patch) | |
tree | cad1068b2916e0864eb619e28330c46fd62e48fd /pkg/gui/arrangement.go | |
parent | 70b5c822bb2dfc3b82e8fa7a97fab0bff0c4960b (diff) |
add cmdLog panel
Diffstat (limited to 'pkg/gui/arrangement.go')
-rw-r--r-- | pkg/gui/arrangement.go | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/pkg/gui/arrangement.go b/pkg/gui/arrangement.go index 125e089d2..b2a44f6eb 100644 --- a/pkg/gui/arrangement.go +++ b/pkg/gui/arrangement.go @@ -146,6 +146,8 @@ func (gui *Gui) getWindowDimensions(informationStr string, appStatus string) map mainPanelsDirection = boxlayout.COLUMN } + cmdLogSize := 10 + root := &boxlayout.Box{ Direction: boxlayout.ROW, Children: []*boxlayout.Box{ @@ -159,9 +161,19 @@ func (gui *Gui) getWindowDimensions(informationStr string, appStatus string) map ConditionalChildren: gui.sidePanelChildren, }, { - Direction: mainPanelsDirection, + Direction: boxlayout.ROW, Weight: mainSectionWeight, - Children: gui.mainSectionChildren(), + Children: []*boxlayout.Box{ + { + Direction: mainPanelsDirection, + Children: gui.mainSectionChildren(), + Weight: 1, + }, + { + Window: "cmdLog", + Size: cmdLogSize, + }, + }, }, }, }, |