summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-04-29 17:20:01 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-04-29 17:20:01 +0000
commita6c22d650b2d9fba8eb069b488555ab71e5096d6 (patch)
treeaf123a415df233978b44eda9bbb7dbad6290bd44 /options-table.c
parente60f48ab09f75c622f45718797f83964a28769c0 (diff)
Add a flag to move-window to renumber the windows in a session (closing
any gaps) and add an option to do this automatically each time a window is killed. From Thomas Adam.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index 28e4af7e..3e471908 100644
--- a/options-table.c
+++ b/options-table.c
@@ -274,6 +274,11 @@ const struct options_table_entry session_options_table[] = {
.default_num = KEYC_NONE,
},
+ { .name = "renumber-windows",
+ .type = OPTIONS_TABLE_FLAG,
+ .default_num = 0
+ },
+
{ .name = "repeat-time",
.type = OPTIONS_TABLE_NUMBER,
.minimum = 0,