diff options
author | Drew DeVault <sir@cmpwn.com> | 2019-03-30 12:59:18 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-03-30 12:59:18 -0400 |
commit | 84965d680cff655c7734070ef93fd3c1e2177748 (patch) | |
tree | a77f59f78406a958795a14bf40292f31f25ddc24 /lib/ui/borders.go | |
parent | 700dea23fa75f213af2f99449db994008eab9d21 (diff) | |
download | aerc-84965d680cff655c7734070ef93fd3c1e2177748.tar.gz |
Use tcell.Style.Reverse instead of black on white
Diffstat (limited to 'lib/ui/borders.go')
-rw-r--r-- | lib/ui/borders.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |