summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-05-03 17:51:04 +0000
committerTiago Cunha <tcunha@gmx.com>2012-05-03 17:51:04 +0000
commitb728970c654cc16476f4e923cb435512d20b47f3 (patch)
treea8a9ec85309feda48f8deb9a3ab7bddcc4781835 /options-table.c
parente45dc6ae59b6362224253415ae8f9e2ce6cdad05 (diff)
Sync OpenBSD patchset 1104:
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 c03295ff..8ce838a6 100644
--- a/options-table.c
+++ b/options-table.c
@@ -273,6 +273,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,