This commit is contained in:
Michael Grant
2026-04-05 19:40:56 -04:00
35 changed files with 1256 additions and 1654 deletions

View File

@@ -339,14 +339,13 @@ server_destroy_pane(struct window_pane *wp, int notify)
switch (remain_on_exit) {
case 0:
break;
case 3: /* keypress — fall through to draw remain-on-exit-format message */
/* FALLTHROUGH */
case 2:
if (remain_on_exit == 2 &&
WIFEXITED(wp->status) && WEXITSTATUS(wp->status) == 0)
break;
/* FALLTHROUGH */
case 1:
case 3:
if (wp->flags & PANE_STATUSDRAWN)
return;
wp->flags |= PANE_STATUSDRAWN;