diff options
author | 2009-08-08 20:36:42 +0000 | |
---|---|---|
committer | 2009-08-08 20:36:42 +0000 | |
commit | f192018a2ae5d08fd5ecad7372b0e3d2f9c4eb77 (patch) | |
tree | 80b3336ca9c96611086c2e8c6253104c3215e577 /usr.bin/tmux/cmd-set-option.c | |
parent | synchronize usage displayed by mklocale with synopsis in the manual page; (diff) | |
download | wireguard-openbsd-f192018a2ae5d08fd5ecad7372b0e3d2f9c4eb77.tar.xz wireguard-openbsd-f192018a2ae5d08fd5ecad7372b0e3d2f9c4eb77.zip |
Options to set the colours and attributes for status-left/-right. From Thomas
Adam, thanks.
Diffstat (limited to 'usr.bin/tmux/cmd-set-option.c')
-rw-r--r-- | usr.bin/tmux/cmd-set-option.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-set-option.c b/usr.bin/tmux/cmd-set-option.c index e1762dfc539..b0e52c39b56 100644 --- a/usr.bin/tmux/cmd-set-option.c +++ b/usr.bin/tmux/cmd-set-option.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-set-option.c,v 1.11 2009/08/04 18:45:57 nicm Exp $ */ +/* $OpenBSD: cmd-set-option.c,v 1.12 2009/08/08 20:36:42 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -74,8 +74,14 @@ const struct set_option_entry set_option_table[] = { SET_OPTION_CHOICE, 0, 0, set_option_status_justify_list }, { "status-keys", SET_OPTION_CHOICE, 0, 0, set_option_status_keys_list }, { "status-left", SET_OPTION_STRING, 0, 0, NULL }, + { "status-left-attr", SET_OPTION_ATTRIBUTES, 0, 0, NULL }, + { "status-left-bg", SET_OPTION_COLOUR, 0, 0, NULL }, + { "status-left-fg", SET_OPTION_COLOUR, 0, 0, NULL }, { "status-left-length", SET_OPTION_NUMBER, 0, SHRT_MAX, NULL }, { "status-right", SET_OPTION_STRING, 0, 0, NULL }, + { "status-right-attr", SET_OPTION_ATTRIBUTES, 0, 0, NULL }, + { "status-right-bg", SET_OPTION_COLOUR, 0, 0, NULL }, + { "status-right-fg", SET_OPTION_COLOUR, 0, 0, NULL }, { "status-right-length", SET_OPTION_NUMBER, 0, SHRT_MAX, NULL }, { "status-utf8", SET_OPTION_FLAG, 0, 0, NULL }, { "terminal-overrides", SET_OPTION_STRING, 0, 0, NULL }, |