From 84965d680cff655c7734070ef93fd3c1e2177748 Mon Sep 17 00:00:00 2001 From: Drew DeVault Date: Sat, 30 Mar 2019 12:59:18 -0400 Subject: Use tcell.Style.Reverse instead of black on white --- lib/ui/borders.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ui/borders.go') diff --git a/lib/ui/borders.go b/lib/ui/borders.go index 97df5df9..9b7860e4 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 -- cgit