aboutsummaryrefslogtreecommitdiffstats
path: root/lib/ui/text.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-17 17:23:53 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-17 17:23:53 -0400
commitdee0f8938b62d668ed9105c96313fbd8b8bbd098 (patch)
tree2a6d9f1a427d7c4c4dabd371cff5ca0f3fb5ad70 /lib/ui/text.go
parent16c3f0a89309541e36a2de22e91176fd13c67898 (diff)
downloadaerc-dee0f8938b62d668ed9105c96313fbd8b8bbd098.tar.gz
Add :term-close
Diffstat (limited to 'lib/ui/text.go')
-rw-r--r--lib/ui/text.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/ui/text.go b/lib/ui/text.go
index d3f6c6b5..b962166d 100644
--- a/lib/ui/text.go
+++ b/lib/ui/text.go
@@ -20,7 +20,11 @@ type Text struct {
}
func NewText(text string) *Text {
- return &Text{text: text}
+ return &Text{
+ bg: tcell.ColorDefault,
+ fg: tcell.ColorDefault,
+ text: text,
+ }
}
func (t *Text) Text(text string) *Text {