summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@openbsd.org>2012-04-01 13:18:38 +0000
committerNicholas Marriott <nicm@openbsd.org>2012-04-01 13:18:38 +0000
commit85f5485cb5e46d6d574b7a1b8c1357c85b528e2b (patch)
tree302c5d6ffd1bc655d2ab33c808df7d0cc1e2acf2 /options-table.c
parentb831f8635409883e2ad2b6feedf05821f8f2ea84 (diff)
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 965e4ebd..90833114 100644
--- a/options-table.c
+++ b/options-table.c
@@ -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,