Complete the F rune.

%F now shows the auth name or recepient name/address if the
message is from you.
This commit is contained in:
Srivathsan Murali 2019-11-12 12:50:00 +01:00 committed by Drew DeVault
commit c655afa32b
4 changed files with 27 additions and 6 deletions
widgets

View file

@ -107,6 +107,7 @@ func (ml *MessageList) Draw(ctx *ui.Context) {
ctx.Fill(0, row, ctx.Width(), 1, ' ', style)
fmtStr, args, err := format.ParseMessageFormat(
ml.aerc.SelectedAccount().acct.From,
ml.conf.Ui.IndexFormat,
ml.conf.Ui.TimestampFormat, "", i, msg)
if err != nil {