diff options
author | 2017-10-12 11:32:27 +0000 | |
---|---|---|
committer | 2017-10-12 11:32:27 +0000 | |
commit | 514fd64db65eb8fdaad8eb512948cdee09ecebcf (patch) | |
tree | e2fa375efe72c9b2216fb2f6ae796dff6583ae2e /usr.bin/tmux/window.c | |
parent | add -G to usage(); (diff) | |
download | wireguard-openbsd-514fd64db65eb8fdaad8eb512948cdee09ecebcf.tar.xz wireguard-openbsd-514fd64db65eb8fdaad8eb512948cdee09ecebcf.zip |
Show exit status and time in the remain-on-exit pane text, mostly from
Timo Boettcher in GitHub issue 1103.
Diffstat (limited to 'usr.bin/tmux/window.c')
-rw-r--r-- | usr.bin/tmux/window.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/tmux/window.c b/usr.bin/tmux/window.c index 37e163a3b9a..b5023cb98a2 100644 --- a/usr.bin/tmux/window.c +++ b/usr.bin/tmux/window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: window.c,v 1.205 2017/08/28 12:36:38 nicm Exp $ */ +/* $OpenBSD: window.c,v 1.206 2017/10/12 11:32:27 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -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); |