diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-02-27 19:30:59 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-02-27 19:31:09 -0500 |
commit | 46756487fb56acf26122a7b5d46be2ff8ee3c051 (patch) | |
tree | 3be5178f68abd94f4fc1e47904eef24caef78b7a /cmd | |
parent | 384fe0d82691d55615655fc17a350f710dd4cf1c (diff) | |
download | aerc-46756487fb56acf26122a7b5d46be2ff8ee3c051.tar.gz |
Add stack UI container
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/aerc/main.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cmd/aerc/main.go b/cmd/aerc/main.go index 2985e035..5e537fb8 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 { |