summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-10-14 16:01:20 +0100
committerThomas Adam <thomas@xteddy.org>2021-10-14 16:01:20 +0100
commit264fe7fc2ac87ee1d337506606f45b3ee4028afe (patch)
tree43a1dc9eb44d6a367404a2a67701c7b47f5680b3 /options-table.c
parentee9885a40ced1fd34fe2eed879a40975a0691ac8 (diff)
parentadd20637f256c0118d3c687d5d1446612d14389a (diff)
Merge branch 'obsd-master' into master
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c16
1 files changed, 14 insertions, 2 deletions
diff --git a/options-table.c b/options-table.c
index b63ae117..3acbfcaf 100644
--- a/options-table.c
+++ b/options-table.c
@@ -59,9 +59,12 @@ static const char *options_table_visual_bell_list[] = {
static const char *options_table_pane_status_list[] = {
"off", "top", "bottom", NULL
};
-static const char *options_table_pane_lines_list[] = {
+static const char *options_table_pane_border_lines_list[] = {
"single", "double", "heavy", "simple", "number", NULL
};
+static const char *options_table_popup_border_lines_list[] = {
+ "single", "double", "heavy", "simple", "rounded", "padded", "none", NULL
+};
static const char *options_table_set_clipboard_list[] = {
"off", "external", "on", NULL
};
@@ -950,7 +953,7 @@ const struct options_table_entry options_table[] = {
{ .name = "pane-border-lines",
.type = OPTIONS_TABLE_CHOICE,
.scope = OPTIONS_TABLE_WINDOW,
- .choices = options_table_pane_lines_list,
+ .choices = options_table_pane_border_lines_list,
.default_num = PANE_LINES_SINGLE,
.text = "Type of characters used to draw pane border lines. Some of "
"these are only supported on terminals with UTF-8 support."
@@ -999,6 +1002,15 @@ const struct options_table_entry options_table[] = {
.text = "Default style of popup borders."
},
+ { .name = "popup-border-lines",
+ .type = OPTIONS_TABLE_CHOICE,
+ .scope = OPTIONS_TABLE_WINDOW,
+ .choices = options_table_popup_border_lines_list,
+ .default_num = BOX_LINES_SINGLE,
+ .text = "Type of characters used to draw popup border lines. Some of "
+ "these are only supported on terminals with UTF-8 support."
+ },
+
{ .name = "remain-on-exit",
.type = OPTIONS_TABLE_CHOICE,
.scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,