diff options
author | Bence Ferdinandy <bence@ferdinandy.com> | 2022-12-08 14:15:33 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-12-14 11:24:43 +0100 |
commit | adf74be4b5c55faa724d35ca7bea2603c3ef42f9 (patch) | |
tree | 87de802bbfef7a8455ad6e9d48f2a1f0b38a517a /widgets | |
parent | c05c2ffe0424b048b10e7dd1aca59ae9cf631f12 (diff) | |
download | aerc-adf74be4b5c55faa724d35ca7bea2603c3ef42f9.tar.gz |
msglist: add attachment indicator
Add indicator of an attachment to the flags and make the character used
to be configurable.
Signed-off-by: Bence Ferdinandy <bence@ferdinandy.com>
Tested-by: Jens Grassel <jens@wegtam.com>
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/msglist.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/widgets/msglist.go b/widgets/msglist.go index 4c805d51..a12a4687 100644 --- a/widgets/msglist.go +++ b/widgets/msglist.go @@ -257,6 +257,7 @@ func (ml *MessageList) drawRow(textWidth int, ctx *ui.Context, uid uint32, row i uiConfig.ThisDayTimeFormat, uiConfig.ThisWeekTimeFormat, uiConfig.ThisYearTimeFormat, + uiConfig.IconAttachment, fmtCtx) if err != nil { ctx.Printf(0, row, style, "%v", err) |