summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-set-option.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2009-08-08 20:36:43 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2009-08-08 20:36:43 +0000
commit6377f357574750ffd3cc1914cf0aa1884a334730 (patch)
treed0e285a520eafea1f1f6333b334fc700e3bc0992 /usr.bin/tmux/cmd-set-option.c
parentf6d7dbb0975b287d64cba534b99067f8e3da78f8 (diff)
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.c8
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 },