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/tmux.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/tmux.c')
-rw-r--r-- | usr.bin/tmux/tmux.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c index fba16c62d9e..690cc3062cc 100644 --- a/usr.bin/tmux/tmux.c +++ b/usr.bin/tmux/tmux.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tmux.c,v 1.16 2009/07/18 14:59:25 nicm Exp $ */ +/* $OpenBSD: tmux.c,v 1.17 2009/07/20 09:15:18 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -338,6 +338,9 @@ main(int argc, char **argv) options_set_number(&global_w_options, "window-status-attr", 0); options_set_number(&global_w_options, "window-status-bg", 8); options_set_number(&global_w_options, "window-status-fg", 8); + options_set_number(&global_w_options, "window-status-current-attr", 0); + options_set_number(&global_w_options, "window-status-current-bg", 8); + options_set_number(&global_w_options, "window-status-current-fg", 8); options_set_number(&global_w_options, "xterm-keys", 0); options_set_number(&global_w_options, "remain-on-exit", 0); |