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

@ -908,6 +908,7 @@ window_pane_spawn(struct window_pane *wp, int argc, char **argv,
free((void *)wp->cwd);
wp->cwd = xstrdup(cwd);
}
wp->flags &= ~(PANE_STATUSREADY|PANE_STATUSDRAWN);
cmd = cmd_stringify_argv(wp->argc, wp->argv);
log_debug("spawn: %s -- %s", wp->shell, cmd);