aboutsummaryrefslogtreecommitdiff
path: root/options-table.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2020-04-22 12:01:38 +0100
committerThomas Adam <thomas@xteddy.org>2020-04-22 12:01:38 +0100
commit8ae3915cc2c65228af12ff392ed8fdf26db489a2 (patch)
tree9a8088c37a83408787f36da5e82f02fd82e12f09 /options-table.c
parentdd5299841a87c0bf842488f7f9feb84b7e37c819 (diff)
parentb72498c4ff0566d377a4757d1393817627c281ec (diff)
downloadrtmux-8ae3915cc2c65228af12ff392ed8fdf26db489a2.tar.gz
rtmux-8ae3915cc2c65228af12ff392ed8fdf26db489a2.tar.bz2
rtmux-8ae3915cc2c65228af12ff392ed8fdf26db489a2.zip
Merge branch 'obsd-master'
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c24
1 files changed, 8 insertions, 16 deletions
diff --git a/options-table.c b/options-table.c
index e337455d..9f35adf7 100644
--- a/options-table.c
+++ b/options-table.c
@@ -646,19 +646,15 @@ const struct options_table_entry options_table[] = {
},
{ .name = "main-pane-height",
- .type = OPTIONS_TABLE_NUMBER,
+ .type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,
- .minimum = 1,
- .maximum = INT_MAX,
- .default_num = 24
+ .default_str = "24"
},
{ .name = "main-pane-width",
- .type = OPTIONS_TABLE_NUMBER,
+ .type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,
- .minimum = 1,
- .maximum = INT_MAX,
- .default_num = 80
+ .default_str = "80"
},
{ .name = "mode-keys",
@@ -695,19 +691,15 @@ const struct options_table_entry options_table[] = {
},
{ .name = "other-pane-height",
- .type = OPTIONS_TABLE_NUMBER,
+ .type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,
- .minimum = 0,
- .maximum = INT_MAX,
- .default_num = 0
+ .default_str = "0"
},
{ .name = "other-pane-width",
- .type = OPTIONS_TABLE_NUMBER,
+ .type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,
- .minimum = 0,
- .maximum = INT_MAX,
- .default_num = 0
+ .default_str = "0"
},
{ .name = "pane-active-border-style",