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.
This commit is contained in:
Tiago Cunha
2012-05-03 17:51:04 +00:00
parent e45dc6ae59
commit b728970c65
6 changed files with 85 additions and 4 deletions

View File

@ -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,