Add a layout history which can be stepped through with select-layout -u

and -U commands (bound to 'u' and 'U' by default).
This commit is contained in:
Nicholas Marriott
2012-04-01 13:18:38 +00:00
parent b831f86354
commit 85f5485cb5
8 changed files with 149 additions and 13 deletions

View File

@ -505,6 +505,13 @@ const struct options_table_entry window_options_table[] = {
.default_num = 0
},
{ .name = "layout-history-limit",
.type = OPTIONS_TABLE_NUMBER,
.minimum = 1,
.maximum = USHRT_MAX,
.default_num = 20
},
{ .name = "main-pane-height",
.type = OPTIONS_TABLE_NUMBER,
.minimum = 1,