diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-27 20:22:33 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2009-01-27 20:22:33 +0000 |
commit | c6bd9e20635e4acbf8a65409aa9189edaf3cbc89 (patch) | |
tree | b879376b210ca58c82e3d9af88134c0b2c3343f1 /window-choose.c | |
parent | d697090fa451e9d78b31fdfff89f333d827ddd0a (diff) | |
download | rtmux-c6bd9e20635e4acbf8a65409aa9189edaf3cbc89.tar.gz rtmux-c6bd9e20635e4acbf8a65409aa9189edaf3cbc89.tar.bz2 rtmux-c6bd9e20635e4acbf8a65409aa9189edaf3cbc89.zip |
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!
Diffstat (limited to 'window-choose.c')
-rw-r--r-- | window-choose.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/window-choose.c b/window-choose.c index 38a6a9dc..f865b156 100644 --- a/window-choose.c +++ b/window-choose.c @@ -1,4 +1,4 @@ -/* $Id: window-choose.c,v 1.6 2009-01-23 20:49:01 nicm Exp $ */ +/* $Id: window-choose.c,v 1.7 2009-01-27 20:22:33 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -260,7 +260,7 @@ window_choose_write_line( if (data->selected == data->top + py) { gc.fg = options_get_number(&wp->window->options, "mode-bg"); gc.bg = options_get_number(&wp->window->options, "mode-fg"); - gc.attr |= GRID_ATTR_REVERSE; + gc.attr |= options_get_number(&wp->window->options, "mode-attr"); } screen_write_cursormove(ctx, 0, py); |