From e61ee94e26a82479b5de2ed4c1686625ea5d078d Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 16 Aug 2009 19:16:27 +0000 Subject: 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. --- tmux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tmux.c') diff --git a/tmux.c b/tmux.c index f707e8d1..9a35e7f6 100644 --- a/tmux.c +++ b/tmux.c @@ -1,4 +1,4 @@ -/* $Id: tmux.c,v 1.161 2009-08-14 21:28:00 tcunha Exp $ */ +/* $Id: tmux.c,v 1.162 2009-08-16 19:16:27 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -351,6 +351,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", ""); -- cgit