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
This commit is contained in:
parent
a744df724f
commit
b9d2938f9f
5 changed files with 11 additions and 6 deletions
widgets
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue