aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--app/msglist.go3
-rw-r--r--config/style.go22
-rw-r--r--doc/aerc-stylesets.7.scd3
3 files changed, 18 insertions, 10 deletions
diff --git a/app/msglist.go b/app/msglist.go
index 44367fb4..79e79a1d 100644
--- a/app/msglist.go
+++ b/app/msglist.go
@@ -225,6 +225,9 @@ func addMessage(
if msg.Flags.Has(models.AnsweredFlag) {
params.styles = append(params.styles, config.STYLE_MSGLIST_ANSWERED)
}
+ if msg.Flags.Has(models.ForwardedFlag) {
+ params.styles = append(params.styles, config.STYLE_MSGLIST_FORWARDED)
+ }
if msg.Flags.Has(models.FlaggedFlag) {
params.styles = append(params.styles, config.STYLE_MSGLIST_FLAGGED)
}
diff --git a/config/style.go b/config/style.go
index 46c46378..a8f17e8d 100644
--- a/config/style.go
+++ b/config/style.go
@@ -38,6 +38,7 @@ const (
STYLE_MSGLIST_MARKED
STYLE_MSGLIST_RESULT
STYLE_MSGLIST_ANSWERED
+ STYLE_MSGLIST_FORWARDED
STYLE_MSGLIST_THREAD_FOLDED
STYLE_MSGLIST_GUTTER
STYLE_MSGLIST_PILL
@@ -80,16 +81,17 @@ var StyleNames = map[string]StyleObject{
"statusline_warning": STYLE_STATUSLINE_WARNING,
"statusline_success": STYLE_STATUSLINE_SUCCESS,
- "msglist_default": STYLE_MSGLIST_DEFAULT,
- "msglist_unread": STYLE_MSGLIST_UNREAD,
- "msglist_read": STYLE_MSGLIST_READ,
- "msglist_flagged": STYLE_MSGLIST_FLAGGED,
- "msglist_deleted": STYLE_MSGLIST_DELETED,
- "msglist_marked": STYLE_MSGLIST_MARKED,
- "msglist_result": STYLE_MSGLIST_RESULT,
- "msglist_answered": STYLE_MSGLIST_ANSWERED,
- "msglist_gutter": STYLE_MSGLIST_GUTTER,
- "msglist_pill": STYLE_MSGLIST_PILL,
+ "msglist_default": STYLE_MSGLIST_DEFAULT,
+ "msglist_unread": STYLE_MSGLIST_UNREAD,
+ "msglist_read": STYLE_MSGLIST_READ,
+ "msglist_flagged": STYLE_MSGLIST_FLAGGED,
+ "msglist_deleted": STYLE_MSGLIST_DELETED,
+ "msglist_marked": STYLE_MSGLIST_MARKED,
+ "msglist_result": STYLE_MSGLIST_RESULT,
+ "msglist_answered": STYLE_MSGLIST_ANSWERED,
+ "msglist_forwarded": STYLE_MSGLIST_FORWARDED,
+ "msglist_gutter": STYLE_MSGLIST_GUTTER,
+ "msglist_pill": STYLE_MSGLIST_PILL,
"msglist_thread_folded": STYLE_MSGLIST_THREAD_FOLDED,
"msglist_thread_context": STYLE_MSGLIST_THREAD_CONTEXT,
diff --git a/doc/aerc-stylesets.7.scd b/doc/aerc-stylesets.7.scd
index d86d9f98..ad05d69c 100644
--- a/doc/aerc-stylesets.7.scd
+++ b/doc/aerc-stylesets.7.scd
@@ -109,6 +109,8 @@ styling.
: The messages which match the current search.
| *msglist_answered*
: The messages marked as answered.
+| *msglist_forwarded*
+: The messages marked as forwarded.
| *msglist_gutter*
: The message list gutter.
| *msglist_pill*
@@ -284,6 +286,7 @@ The order that *msglist_\** styles are applied in is, from first to last:
. *msglist_unread*
. *msglist_read*
. *msglist_answered*
+. *msglist_forwarded*
. *msglist_flagged*
. *msglist_deleted*
. *msglist_result*