summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorTiago Cunha <tcunha@gmx.com>2012-04-10 09:52:45 +0000
committerTiago Cunha <tcunha@gmx.com>2012-04-10 09:52:45 +0000
commitf99de22808b8e3c2b8aabf70b945f768ae892dda (patch)
tree07e7ba338344d6dbecb6d0af381f47a8dc6672df /options-table.c
parentb58d7f78a1c7c6755321e97046307db1d295c2d6 (diff)
Sync OpenBSD patchset 1084:
Add a layout history which can be stepped through with select-layout -u and -U commands (bound to 'u' and 'U' by default).
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index de00f3df..1eb50e45 100644
--- a/options-table.c
+++ b/options-table.c
@@ -504,6 +504,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,