summaryrefslogtreecommitdiffstats
path: root/init.c
diff options
context:
space:
mode:
authorKevin McCarthy <kevin@8t8.us>2018-12-29 13:20:03 -0800
committerKevin McCarthy <kevin@8t8.us>2018-12-29 14:12:07 -0800
commitf3f98bd66cde06d02b943a062142cc268019579a (patch)
treedaea8304a4d2179be5337c5354b77e14d67a7539 /init.c
parent333312c22e762169500949583755b6e208fc23e5 (diff)
Color protected subject as a header in the pager.
Diffstat (limited to 'init.c')
-rw-r--r--init.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/init.c b/init.c
index 97bb03eb..1ab4ece2 100644
--- a/init.c
+++ b/init.c
@@ -3409,7 +3409,9 @@ void mutt_init (int skip_sys_rc, LIST *commands)
*/
snprintf (AttachmentMarker, sizeof (AttachmentMarker),
"\033]9;%ld\a", (long) time (NULL));
-
+ snprintf (ProtectedHeaderMarker, sizeof (ProtectedHeaderMarker),
+ "\033]8;%ld\a", (long) time (NULL));
+
/* on one of the systems I use, getcwd() does not return the same prefix
as is listed in the passwd file */
if ((p = getenv ("HOME")))