aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-02-27 19:30:59 -0500
committerDrew DeVault <sir@cmpwn.com>2018-02-27 19:31:09 -0500
commit46756487fb56acf26122a7b5d46be2ff8ee3c051 (patch)
tree3be5178f68abd94f4fc1e47904eef24caef78b7a /cmd
parent384fe0d82691d55615655fc17a350f710dd4cf1c (diff)
Add stack UI container
Diffstat (limited to 'cmd')
-rw-r--r--cmd/aerc/main.go5
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/aerc/main.go b/cmd/aerc/main.go
index 2985e03..5e537fb 100644
--- a/cmd/aerc/main.go
+++ b/cmd/aerc/main.go
@@ -71,8 +71,11 @@ func main() {
fill('.'), libui.BORDER_RIGHT)).At(1, 0).Span(2, 1)
grid.AddChild(tabs.TabStrip).At(0, 1)
grid.AddChild(tabs.TabContent).At(1, 1)
+
+ statusbar := libui.NewStack()
exline := widgets.NewExLine()
- grid.AddChild(exline).At(2, 1)
+ statusbar.Push(exline)
+ grid.AddChild(statusbar).At(2, 1)
ui, err := libui.Initialize(conf, grid)
if err != nil {