diff --git a/color.c b/color.c index 178f8bc8416..6d57b7522e3 100644 --- a/color.c +++ b/color.c @@ -384,13 +384,19 @@ void mutt_free_color(int fg, int bg) static int parse_color_name(const char *s, int *col, int *attr, int is_fg, struct Buffer *err) { char *eptr = NULL; - int is_bright = 0; + int is_alert = 0, is_bright = 0; if (mutt_str_strncasecmp(s, "bright", 6) == 0) { is_bright = 1; s += 6; } + else if (mutt_str_strncasecmp(s, "alert", 5) == 0) + { + is_alert = 1; + is_bright = 1; + s += 5; + } /* allow aliases for xterm color resources */ if (mutt_str_strncasecmp(s, "color", 5) == 0) @@ -411,7 +417,12 @@ static int parse_color_name(const char *s, int *col, int *attr, int is_fg, struc if (is_bright) { - if (is_fg) + if (is_alert) + { + *attr |= A_BOLD; + *attr |= A_BLINK; + } + else if (is_fg) { *attr |= A_BOLD; } diff --git a/doc/manual.xml.head b/doc/manual.xml.head index b27e39348a8..4250c73082f 100644 --- a/doc/manual.xml.head +++ b/doc/manual.xml.head @@ -4197,7 +4197,9 @@ folder-hook work "set sort=threads" foreground can optionally be prefixed with the keyword bright to make the foreground color boldfaced (e.g., - brightred). + brightred). + alert to make a blinking/alert color (e.g., + alertred). If your terminal supports it, the special keyword default can be used as a transparent color. The value brightdefault is also valid. If NeoMutt is linked