aboutsummaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-02-17 20:21:33 -0500
committerDrew DeVault <sir@cmpwn.com>2018-02-17 20:21:33 -0500
commit05ec7357541bcc21dab041da01aec541f6c33cab (patch)
tree69ca6666e2958bd85c268deb4c33d09963701eff /cmd
parentf0791d4ba720c4cfa1d3f90c99296584aa878cd9 (diff)
Add text widget
Diffstat (limited to 'cmd')
-rw-r--r--cmd/aerc/main.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/cmd/aerc/main.go b/cmd/aerc/main.go
index f666748..8541d08 100644
--- a/cmd/aerc/main.go
+++ b/cmd/aerc/main.go
@@ -62,6 +62,9 @@ func main() {
})
// TODO: move sidebar into tab content, probably
+ grid.AddChild(ui.NewText("aerc").
+ Strategy(ui.TEXT_CENTER).
+ Color(tb.ColorBlack, tb.ColorWhite))
// sidebar placeholder:
grid.AddChild(ui.NewBordered(
fill('.'), ui.BORDER_RIGHT)).At(1, 0).Span(2, 1)