aboutsummaryrefslogtreecommitdiff
path: root/lib/ui/borders.go
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-03-30 12:59:18 -0400
committerDrew DeVault <sir@cmpwn.com>2019-03-30 12:59:18 -0400
commit84965d680cff655c7734070ef93fd3c1e2177748 (patch)
treea77f59f78406a958795a14bf40292f31f25ddc24 /lib/ui/borders.go
parent700dea23fa75f213af2f99449db994008eab9d21 (diff)
Use tcell.Style.Reverse instead of black on white
Diffstat (limited to 'lib/ui/borders.go')
-rw-r--r--lib/ui/borders.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ui/borders.go b/lib/ui/borders.go
index 97df5df..9b7860e 100644
--- a/lib/ui/borders.go
+++ b/lib/ui/borders.go
@@ -49,7 +49,7 @@ func (bordered *Bordered) Draw(ctx *Context) {
y := 0
width := ctx.Width()
height := ctx.Height()
- style := tcell.StyleDefault.Background(tcell.ColorWhite).Foreground(tcell.ColorBlack)
+ style := tcell.StyleDefault.Reverse(true)
if bordered.borders&BORDER_LEFT != 0 {
ctx.Fill(0, 0, 1, ctx.Height(), ' ', style)
x += 1