summaryrefslogtreecommitdiffstats
path: root/options-table.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2022-02-01 16:01:11 +0000
committerThomas Adam <thomas@xteddy.org>2022-02-01 16:01:11 +0000
commita4f336a91a4bc340111dd72abd894d75093566d7 (patch)
tree30f1535b56198ac27b00f50e2c6f68c499a9033f /options-table.c
parent1b7afd51293e2e3da99d2dfed57dc1ebc4cdf5d5 (diff)
parent7e34645fcbe93984461343d67373a29e552fec20 (diff)
Merge branch 'obsd-master' into master
Diffstat (limited to 'options-table.c')
-rw-r--r--options-table.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c
index 3be04399..94f8701e 100644
--- a/options-table.c
+++ b/options-table.c
@@ -63,6 +63,9 @@ static const char *options_table_cursor_style_list[] = {
static const char *options_table_pane_status_list[] = {
"off", "top", "bottom", NULL
};
+static const char *options_table_pane_border_indicators_list[] = {
+ "off", "colour", "arrows", "both", NULL
+};
static const char *options_table_pane_border_lines_list[] = {
"single", "double", "heavy", "simple", "number", NULL
};
@@ -970,6 +973,15 @@ const struct options_table_entry options_table[] = {
.text = "Format of text in the pane status lines."
},
+ { .name = "pane-border-indicators",
+ .type = OPTIONS_TABLE_CHOICE,
+ .scope = OPTIONS_TABLE_WINDOW,
+ .choices = options_table_pane_border_indicators_list,
+ .default_num = PANE_BORDER_COLOUR,
+ .text = "Whether to indicate the active pane by colouring border or "
+ "displaying arrow markers."
+ },
+
{ .name = "pane-border-lines",
.type = OPTIONS_TABLE_CHOICE,
.scope = OPTIONS_TABLE_WINDOW,