aboutsummaryrefslogtreecommitdiff
path: root/cmd-set-option.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2009-08-16 19:16:27 +0000
committerTiago Cunha <tcunha@gmx.com>2009-08-16 19:16:27 +0000
commite61ee94e26a82479b5de2ed4c1686625ea5d078d (patch)
treeb30a1f1c63e3cf956c73ec161d90999e7953b187 /cmd-set-option.c
parent9116905b24ff6ee585f42295b302812aad853ff1 (diff)
downloadrtmux-e61ee94e26a82479b5de2ed4c1686625ea5d078d.tar.gz
rtmux-e61ee94e26a82479b5de2ed4c1686625ea5d078d.tar.bz2
rtmux-e61ee94e26a82479b5de2ed4c1686625ea5d078d.zip
Sync OpenBSD patchset 257:
Add a base-index session option to specify the first index checked when looking for an index for a new window.
Diffstat (limited to 'cmd-set-option.c')
-rw-r--r--cmd-set-option.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/cmd-set-option.c b/cmd-set-option.c
index ec07ad25..d938d732 100644
--- a/cmd-set-option.c
+++ b/cmd-set-option.c
@@ -1,4 +1,4 @@
-/* $Id: cmd-set-option.c,v 1.75 2009-08-11 14:42:59 nicm Exp $ */
+/* $Id: cmd-set-option.c,v 1.76 2009-08-16 19:16:27 tcunha Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -50,6 +50,7 @@ const char *set_option_bell_action_list[] = {
"none", "any", "current", NULL
};
const struct set_option_entry set_option_table[] = {
+ { "base-index", SET_OPTION_NUMBER, 0, INT_MAX, NULL },
{ "bell-action", SET_OPTION_CHOICE, 0, 0, set_option_bell_action_list },
{ "buffer-limit", SET_OPTION_NUMBER, 1, INT_MAX, NULL },
{ "default-command", SET_OPTION_STRING, 0, 0, NULL },