Show exit status and time in the remain-on-exit pane text, mostly from

Timo Boettcher in GitHub issue 1103.
This commit is contained in:
nicm
2017-10-12 11:32:27 +00:00
parent eb9839fd32
commit a5fd5782f8
5 changed files with 34 additions and 11 deletions

View File

@ -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;