Merge branch 'master' into floating_panes

This commit is contained in:
Michael Grant
2026-02-18 09:28:38 +00:00
19 changed files with 356 additions and 195 deletions

View File

@@ -2012,8 +2012,10 @@ format_cb_pane_bottom(struct format_tree *ft)
static void *
format_cb_pane_dead(struct format_tree *ft)
{
if (ft->wp != NULL) {
if (ft->wp->fd == -1)
struct window_pane *wp = ft->wp;
if (wp != NULL) {
if (wp->fd == -1 && (wp->flags & PANE_STATUSREADY))
return (xstrdup("1"));
return (xstrdup("0"));
}