Add top-floating and bottom-floating to pane-border-status to show

status line only on floating panes.
This commit is contained in:
nicm
2026-06-15 08:16:05 +00:00
parent 97b5f22a70
commit 7a18fa281d
7 changed files with 65 additions and 32 deletions

View File

@@ -71,7 +71,7 @@ static const char *options_table_pane_scrollbars_position_list[] = {
"right", "left", NULL
};
static const char *options_table_pane_status_list[] = {
"off", "top", "bottom", NULL
"off", "top", "bottom", "top-floating", "bottom-floating", NULL
};
static const char *options_table_pane_border_indicators_list[] = {
"off", "colour", "arrows", "both", NULL
@@ -1374,7 +1374,7 @@ const struct options_table_entry options_table[] = {
{ .name = "pane-border-status",
.type = OPTIONS_TABLE_CHOICE,
.scope = OPTIONS_TABLE_WINDOW,
.scope = OPTIONS_TABLE_WINDOW|OPTIONS_TABLE_PANE,
.choices = options_table_pane_status_list,
.default_num = PANE_STATUS_OFF,
.text = "Position of the pane status lines."