diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/msglist.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go index 18a7019..47be7bc 100644 --- a/widgets/msglist.go +++ b/widgets/msglist.go @@ -81,6 +81,9 @@ func (ml *MessageList) Draw(ctx *ui.Context) { style = style.Background(tcell.ColorWhite). Foreground(tcell.ColorBlack) } + if _, ok := ml.store.Deleted[msg.Uid]; ok { + style = style.Foreground(tcell.ColorGray) + } ctx.Fill(0, row, ctx.Width(), 1, ' ', style) ctx.Printf(0, row, style, "%s", msg.Envelope.Subject) |