diff options
author | Reto Brunner <reto@labrat.space> | 2019-12-18 06:34:07 +0100 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-12-21 09:27:53 -0500 |
commit | b9d2938f9fd13c290f187901c2fd43c957a24dd7 (patch) | |
tree | 5dd35d07dd56f851752fb6e16dc187ccd51d9f33 /widgets/msglist.go | |
parent | a744df724f8b7acb0ac231a615192d33c414012e (diff) | |
download | aerc-b9d2938f9fd13c290f187901c2fd43c957a24dd7.tar.gz |
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
Diffstat (limited to 'widgets/msglist.go')
-rw-r--r-- | widgets/msglist.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |