Add pane_dead_status for exit status of dead panes.

This commit is contained in:
nicm
2014-12-09 19:23:35 +00:00
parent 54ca7b230d
commit 7a0c94b28a
4 changed files with 10 additions and 1 deletions

View File

@ -441,6 +441,7 @@ server_child_exited(pid_t pid, int status)
continue;
TAILQ_FOREACH(wp, &w->panes, entry) {
if (wp->pid == pid) {
wp->status = status;
server_destroy_pane(wp);
break;
}