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 --- widgets/msglist.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'widgets/msglist.go') diff --git a/widgets/msglist.go b/widgets/msglist.go index 47be7bc..d8d419e 100644 --- a/widgets/msglist.go +++ b/widgets/msglist.go @@ -78,8 +78,7 @@ func (ml *MessageList) Draw(ctx *ui.Context) { style := tcell.StyleDefault if row == ml.selected-ml.scroll { - style = style.Background(tcell.ColorWhite). - Foreground(tcell.ColorBlack) + style = style.Reverse(true) } if _, ok := ml.store.Deleted[msg.Uid]; ok { style = style.Foreground(tcell.ColorGray) -- cgit v1.2.3