summaryrefslogtreecommitdiff
path: root/lib/ui/text.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-05-21 16:31:04 -0400
committerDrew DeVault <sir@cmpwn.com>2019-05-21 16:53:50 -0400
commit6811143925384ba1cfda8b3e1b338b0cfb9ac6e3 (patch)
tree584ce88b40ab87828d6adbfdb6bef7a5d3046600 /lib/ui/text.go
parent176245208d40a9ca2ec324be7863a22819de29bc (diff)
downloadaerc-6811143925384ba1cfda8b3e1b338b0cfb9ac6e3.zip
New account wizard, part one
Diffstat (limited to 'lib/ui/text.go')
-rw-r--r--lib/ui/text.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ui/text.go b/lib/ui/text.go
index 8aea8eb..2b82598 100644
--- a/lib/ui/text.go
+++ b/lib/ui/text.go
@@ -77,7 +77,7 @@ func (t *Text) Draw(ctx *Context) {
style = style.Reverse(true)
}
ctx.Fill(0, 0, ctx.Width(), ctx.Height(), ' ', style)
- ctx.Printf(x, 0, style, t.text)
+ ctx.Printf(x, 0, style, "%s", t.text)
}
func (t *Text) Invalidate() {