mirror of
https://github.com/tmux/tmux.git
synced 2025-09-01 20:57:00 +00:00
Add option to show arrows for active pane indicator, GitHub issue 3022
from Marcel Partap.
This commit is contained in:
@ -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,
|
||||
|
Reference in New Issue
Block a user