diff options
author | 2009-07-20 09:15:18 +0000 | |
---|---|---|
committer | 2009-07-20 09:15:18 +0000 | |
commit | 49e2a286761c11342e6b3a222901c62872117f93 (patch) | |
tree | e9573ce05d188ad4320c7f26135b064ecb91dcc7 /usr.bin/tmux/cmd-set-window-option.c | |
parent | Kill some dead stores and fix a null pointer deref, found by clang. (diff) | |
download | wireguard-openbsd-49e2a286761c11342e6b3a222901c62872117f93.tar.xz wireguard-openbsd-49e2a286761c11342e6b3a222901c62872117f93.zip |
New options, window-status-current-{fg,bg,attr}, to set the fg, bg and
attributes with which the current window is shown in the status line. From
Johan Friis, thanks.
Diffstat (limited to 'usr.bin/tmux/cmd-set-window-option.c')
-rw-r--r-- | usr.bin/tmux/cmd-set-window-option.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-set-window-option.c b/usr.bin/tmux/cmd-set-window-option.c index aa3681bcad1..e99c33a0e25 100644 --- a/usr.bin/tmux/cmd-set-window-option.c +++ b/usr.bin/tmux/cmd-set-window-option.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-set-window-option.c,v 1.6 2009/07/15 07:50:34 nicm Exp $ */ +/* $OpenBSD: cmd-set-window-option.c,v 1.7 2009/07/20 09:15:18 nicm Exp $ */ /* * Copyright (c) 2008 Nicholas Marriott <nicm@users.sourceforge.net> @@ -68,6 +68,9 @@ const struct set_option_entry set_window_option_table[] = { { "utf8", SET_OPTION_FLAG, 0, 0, NULL }, { "window-status-attr", SET_OPTION_ATTRIBUTES, 0, 0, NULL }, { "window-status-bg", SET_OPTION_COLOUR, 0, 0, NULL }, + { "window-status-current-attr", SET_OPTION_ATTRIBUTES, 0, 0, NULL }, + { "window-status-current-bg", SET_OPTION_COLOUR, 0, 0, NULL }, + { "window-status-current-fg", SET_OPTION_COLOUR, 0, 0, NULL }, { "window-status-fg", SET_OPTION_COLOUR, 0, 0, NULL }, { "xterm-keys", SET_OPTION_FLAG, 0, 0, NULL }, { NULL, 0, 0, 0, NULL } |