summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authornicm <nicm>2023-08-15 07:01:47 +0000
committernicm <nicm>2023-08-15 07:01:47 +0000
commitb770a429c63a8e286dbd3939215fbffa59e73d9a (patch)
treed1bdeafad49032ea9cbf908c37b2e9737b828a91 /options-table.c
parent57837bbf67c10638e0684c93bb29e88ca9b07b52 (diff)
Add an option menu-selected-style to configure the currently selected
menu item, from Alexis Hildebrandt.
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c11
1 files changed, 10 insertions, 1 deletions
diff --git a/options-table.c b/options-table.c
index 745f2b3b..eacf0947 100644
--- a/options-table.c
+++ b/options-table.c
@@ -336,6 +336,15 @@ const struct options_table_entry options_table[] = {
.text = "Default style of menu."
},
+ { .name = "menu-selected-style",
+ .type = OPTIONS_TABLE_STRING,
+ .scope = OPTIONS_TABLE_WINDOW,
+ .flags = OPTIONS_TABLE_IS_STYLE,
+ .default_str = "bg=yellow,fg=black",
+ .separator = ",",
+ .text = "Default style of selected menu item."
+ },
+
{ .name = "menu-border-style",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,
@@ -962,8 +971,8 @@ const struct options_table_entry options_table[] = {
{ .name = "mode-style",
.type = OPTIONS_TABLE_STRING,
.scope = OPTIONS_TABLE_WINDOW,
- .default_str = "bg=yellow,fg=black",
.flags = OPTIONS_TABLE_IS_STYLE,
+ .default_str = "bg=yellow,fg=black",
.separator = ",",
.text = "Style of indicators and highlighting in modes."
},