On Sun, Feb 10, 2002 at 08:30:50AM +0000, Benjamin Smith wrote:
> Why is this? This is a mutt limitation isn't it, as other ncurses apps
> (w3m) can colour *and* underline, perhaps this should get placed on a
> TODO list?
Try the following patch. It's a hack that lets you use underline when you
prefix one of the color names with an underscore:
color _brightred yellow
should get you underlined bold read fg on yellow bg.
--- color.c~ Thu Jan 24 04:10:48 2002
+++ color.c Sun Feb 10 21:56:53 2002
@@ -305,6 +305,13 @@ parse_color_name (const char *s, int *co
{
char *eptr;
+ /* XXX hack to allow underline with colors */
+ if (*s == '_')
+ {
+ *attr |= A_UNDERLINE;
+ s++;
+ }
+
if (mutt_strncasecmp (s, "bright", 6) == 0)
{
*attr |= brite;