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 /widgets/msglist.go | |
parent | 700dea23fa75f213af2f99449db994008eab9d21 (diff) | |
download | aerc-84965d680cff655c7734070ef93fd3c1e2177748.tar.gz |
Use tcell.Style.Reverse instead of black on white
Diffstat (limited to 'widgets/msglist.go')
-rw-r--r-- | widgets/msglist.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go index 47be7bcc..d8d419e9 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) |