summaryrefslogtreecommitdiffstats
path: root/mutt.h
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2021-08-14 15:38:20 -0700
committerKevin McCarthy <kevin@8t8.us>2021-08-14 15:38:20 -0700
commitc9fa0414d19a30f2828910932b47d3e2bc3019d3 (patch)
treea99e43be90ca4b8e1df837d163197aa8278bacd9 /mutt.h
parent5aa75ed2b8eac107d7acf5c58cd66bd0def213ae (diff)
Lazily update header colors after a thread-flag update.
Although there are other issues with threads and ~() color patterns, this helps with collapsed thread coloring. The thread-flag update can change the matching pattern, but that should be determined after all the thread messages are changed. For example, a collapsed thread with deleted messages and a color pattern '~v ~(~D)' should display differently after <undelete-thread>. Changing it to update colors lazily allows correct coloring (for that case).
Diffstat (limited to 'mutt.h')
-rw-r--r--mutt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/mutt.h b/mutt.h
index 1e7016cc..05e363c7 100644
--- a/mutt.h
+++ b/mutt.h
@@ -378,6 +378,10 @@ enum
#define MUTT_SPAM 1
#define MUTT_NOSPAM 2
+/* flags for _mutt_set_flag() */
+#define MUTT_SET_FLAG_UPDATE_CONTEXT (1<<0)
+#define MUTT_SET_FLAG_UPDATE_COLOR (1<<1)
+
/* boolean vars */
enum
{