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:
Nicholas Marriott
2012-04-29 17:20:01 +00:00
parent e60f48ab09
commit a6c22d650b
6 changed files with 85 additions and 4 deletions

View File

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