From 46756487fb56acf26122a7b5d46be2ff8ee3c051 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Tue, 27 Feb 2018 19:30:59 -0500 Subject: Add stack UI container --- cmd/aerc/main.go | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cmd') 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 { -- cgit 1.4.1-2-gfad0