Add a helper to get pane-border-status for a window for some other

changes to come.
This commit is contained in:
nicm
2026-06-14 19:31:37 +00:00
parent 778a15b64a
commit 87976aa48e
7 changed files with 34 additions and 29 deletions

View File

@@ -1151,7 +1151,7 @@ format_cb_pane_at_top(struct format_tree *ft)
return (NULL);
w = wp->window;
status = options_get_number(w->options, "pane-border-status");
status = window_get_pane_status(w);
if (status == PANE_STATUS_TOP)
flag = (wp->yoff == 1);
else