From b9d2938f9fd13c290f187901c2fd43c957a24dd7 Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Wed, 18 Dec 2019 06:34:07 +0100 Subject: msglist: highlight marked messages Note that, until we get color configuration, this means that the user *must* have the %Z verb in the index format else it'll be horribly confusing as no visual indication is provided --- widgets/msglist.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'widgets/msglist.go') diff --git a/widgets/msglist.go b/widgets/msglist.go index aed3ed53..243c5dbc 100644 --- a/widgets/msglist.go +++ b/widgets/msglist.go @@ -109,7 +109,7 @@ func (ml *MessageList) Draw(ctx *ui.Context) { fmtStr, args, err := format.ParseMessageFormat( ml.aerc.SelectedAccount().acct.From, ml.conf.Ui.IndexFormat, - ml.conf.Ui.TimestampFormat, "", i, msg) + ml.conf.Ui.TimestampFormat, "", i, msg, store.IsMarked(uid)) if err != nil { ctx.Printf(0, row, style, "%v", err) } else { -- cgit