mirror of
https://github.com/tmux/tmux.git
synced 2026-04-16 12:06:32 +00:00
Merge.
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user