Add remain-on-exit key to keep pane around until a key is pressed, from

Michael Grant.
This commit is contained in:
nicm
2026-04-04 17:00:33 +00:00
parent 87aaff5fae
commit 7f2ac9c871
4 changed files with 18 additions and 4 deletions

View File

@@ -341,6 +341,7 @@ server_destroy_pane(struct window_pane *wp, int notify)
break;
/* FALLTHROUGH */
case 1:
case 3:
if (wp->flags & PANE_STATUSDRAWN)
return;
wp->flags |= PANE_STATUSDRAWN;