From c6bd9e20635e4acbf8a65409aa9189edaf3cbc89 Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Tue, 27 Jan 2009 20:22:33 +0000 Subject: Allow status, mode and message attributes to be changed by three new options: status-attr, mode-attr, message-attr. A comma-separataed list is accepted containing: bright, dim, underscore, blink, reverse, hidden, italics, for example: set -g status-attr bright,blink From Josh Elsasser, thanks! --- window-more.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'window-more.c') diff --git a/window-more.c b/window-more.c index de3386ef..7cbf0004 100644 --- a/window-more.c +++ b/window-more.c @@ -1,4 +1,4 @@ -/* $Id: window-more.c,v 1.26 2009-01-23 20:49:01 nicm Exp $ */ +/* $Id: window-more.c,v 1.27 2009-01-27 20:22:33 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -182,7 +182,7 @@ window_more_write_line( screen_write_cursormove(ctx, screen_size_x(s) - size, 0); gc.bg = options_get_number(&wp->window->options, "mode-fg"); gc.fg = options_get_number(&wp->window->options, "mode-bg"); - gc.attr |= GRID_ATTR_REVERSE; + gc.attr |= options_get_number(&wp->window->options, "mode-attr"); screen_write_puts(ctx, &gc, "%s", hdr); memcpy(&gc, &grid_default_cell, sizeof gc); } else -- cgit