summaryrefslogtreecommitdiffstats
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-31 20:46:19 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-31 20:46:19 +0000
commit04319964b95304138dbe5cbce0b97222769d0c17 (patch)
tree3d067da0a55da208bbf9dd18d1711d5b165ffcfc /cmd-set-option.c
parent8102ec3be55e9800837eeb2f1f9135a433452794 (diff)
Add a new display-panes command, with two options (display-panes-colour and
display-panes-time), which displays a visual indication of the number of each pane.
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index e764f4c5..b69ffe0d 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -56,6 +56,8 @@ const struct set_option_entry set_option_table[] = {
{ "default-command", SET_OPTION_STRING, 0, 0, NULL },
{ "default-path", SET_OPTION_STRING, 0, 0, NULL },
{ "default-terminal", SET_OPTION_STRING, 0, 0, NULL },
+ { "display-panes-colour", SET_OPTION_COLOUR, 0, 0, NULL },
+ { "display-panes-time", SET_OPTION_NUMBER, 1, INT_MAX, NULL },
{ "display-time", SET_OPTION_NUMBER, 1, INT_MAX, NULL },
{ "history-limit", SET_OPTION_NUMBER, 0, INT_MAX, NULL },
{ "lock-after-time", SET_OPTION_NUMBER, 0, INT_MAX, NULL },