summaryrefslogtreecommitdiffstats
path: root/server.c
diff options
context:
space:
mode:
authornicm <nicm>2017-10-12 11:32:27 +0000
committernicm <nicm>2017-10-12 11:32:27 +0000
commita5fd5782f87362b8ee31cd5c6975728e112db9ff (patch)
tree2dd2cd2c900ab37fb592ac3d883d1615ed93e534 /server.c
parenteb9839fd32d51688fe1877776921d2d76f2642a2 (diff)
Show exit status and time in the remain-on-exit pane text, mostly from
Timo Boettcher in GitHub issue 1103.
Diffstat (limited to 'server.c')
-rw-r--r--server.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/server.c b/server.c
index 753f6d01..82b5a6b8 100644
--- a/server.c
+++ b/server.c
@@ -424,6 +424,7 @@ server_child_exited(pid_t pid, int status)
TAILQ_FOREACH(wp, &w->panes, entry) {
if (wp->pid == pid) {
wp->status = status;
+ wp->flags |= PANE_STATUSREADY;
log_debug("%%%u exited", wp->id);
wp->flags |= PANE_EXITED;