hide-pane and show-pane now use the new layout mechanics.

This commit is contained in:
Dane Jensen
2026-06-10 23:13:49 -07:00
parent cd4c4bf723
commit 195a9b357a
6 changed files with 111 additions and 250 deletions

View File

@@ -2155,7 +2155,7 @@ format_cb_pane_hidden_flag(struct format_tree *ft)
struct window_pane *wp = ft->wp;
if (wp != NULL) {
if (wp->flags & PANE_HIDDEN)
if (window_pane_is_hidden(wp))
return (xstrdup("1"));
return (xstrdup("0"));
}