summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/tmux.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2009-08-13 20:11:58 +0000
committernicm <nicm@openbsd.org>2009-08-13 20:11:58 +0000
commitbc7e6300cef0ad56396dc4a0373a476cfe3d7ea2 (patch)
tree41fc950709cece1cebfe45b179e44300f4676463 /usr.bin/tmux/tmux.c
parentfix ID string; from Alan R. S. Bueno (diff)
downloadwireguard-openbsd-bc7e6300cef0ad56396dc4a0373a476cfe3d7ea2.tar.xz
wireguard-openbsd-bc7e6300cef0ad56396dc4a0373a476cfe3d7ea2.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 'usr.bin/tmux/tmux.c')
-rw-r--r--usr.bin/tmux/tmux.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/tmux.c b/usr.bin/tmux/tmux.c
index 6fc6028e299..87b1e197e94 100644
--- a/usr.bin/tmux/tmux.c
+++ b/usr.bin/tmux/tmux.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: tmux.c,v 1.32 2009/08/12 09:14:25 nicm Exp $ */
+/* $OpenBSD: tmux.c,v 1.33 2009/08/13 20:11:58 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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", "");