aboutsummaryrefslogtreecommitdiffstats
path: root/widgets
diff options
context:
space:
mode:
authorBence Ferdinandy <bence@ferdinandy.com>2022-12-08 14:15:33 +0100
committerRobin Jarry <robin@jarry.cc>2022-12-14 11:24:43 +0100
commitadf74be4b5c55faa724d35ca7bea2603c3ef42f9 (patch)
tree87de802bbfef7a8455ad6e9d48f2a1f0b38a517a /widgets
parentc05c2ffe0424b048b10e7dd1aca59ae9cf631f12 (diff)
downloadaerc-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.go1
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)