aboutsummaryrefslogtreecommitdiff
path: root/tmux.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2009-08-13 20:11:58 +0000
committerNicholas Marriott <nicm@openbsd.org>2009-08-13 20:11:58 +0000
commit3ad4de6c8cbdc767c6ac40b99764cc7bd8db066a (patch)
tree542f3ff53b0bc779bf29cb1ca1483e3636a86255 /tmux.c
parent3026118c702fc0f17b860197b5242816927bbadb (diff)
downloadrtmux-3ad4de6c8cbdc767c6ac40b99764cc7bd8db066a.tar.gz
rtmux-3ad4de6c8cbdc767c6ac40b99764cc7bd8db066a.tar.bz2
rtmux-3ad4de6c8cbdc767c6ac40b99764cc7bd8db066a.zip
Add a base-index session option to specify the first index checked when looking
for an index for a new window.
Diffstat (limited to 'tmux.c')
-rw-r--r--tmux.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tmux.c b/tmux.c
index 65772f92..9ad48863 100644
--- a/tmux.c
+++ b/tmux.c
@@ -342,6 +342,7 @@ main(int argc, char **argv)
}
options_init(&global_s_options, NULL);
+ options_set_number(&global_s_options, "base-index", 0);
options_set_number(&global_s_options, "bell-action", BELL_ANY);
options_set_number(&global_s_options, "buffer-limit", 9);
options_set_string(&global_s_options, "default-command", "%s", "");