diff options
author | nicm <nicm> | 2022-02-01 14:46:41 +0000 |
---|---|---|
committer | nicm <nicm> | 2022-02-01 14:46:41 +0000 |
commit | 7e34645fcbe93984461343d67373a29e552fec20 (patch) | |
tree | b4b81dc0308de7512d854bfbe38167272684fbb3 /options-table.c | |
parent | 7a4ba6d4a5458f4e2450024d72f0e16905dd5c64 (diff) | |
download | rtmux-7e34645fcbe93984461343d67373a29e552fec20.tar.gz rtmux-7e34645fcbe93984461343d67373a29e552fec20.tar.bz2 rtmux-7e34645fcbe93984461343d67373a29e552fec20.zip |
Add option to show arrows for active pane indicator, GitHub issue 3022
from Marcel Partap.
Diffstat (limited to 'options-table.c')
-rw-r--r-- | options-table.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/options-table.c b/options-table.c index cfb8162e..5cbec546 100644 --- a/options-table.c +++ b/options-table.c @@ -64,6 +64,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 }; @@ -971,6 +974,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, |