From dee0f8938b62d668ed9105c96313fbd8b8bbd098 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sun, 17 Mar 2019 17:23:53 -0400 Subject: Add :term-close --- lib/ui/text.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'lib/ui/text.go') diff --git a/lib/ui/text.go b/lib/ui/text.go index d3f6c6b..b962166 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 { -- cgit v1.2.3