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:
Reto Brunner 2019-12-18 06:34:07 +01:00 committed by Drew DeVault
parent a744df724f
commit b9d2938f9f
5 changed files with 11 additions and 6 deletions

View file

@ -39,7 +39,7 @@ func (trig *TriggersConfig) ExecNewEmail(account *AccountConfig,
formatstr, args, err := format.ParseMessageFormat(
account.From,
part,
conf.Ui.TimestampFormat, account.Name, 0, msg)
conf.Ui.TimestampFormat, account.Name, 0, msg, false)
if err != nil {
return "", err
}