diff options
author | nicm <nicm> | 2021-01-04 08:43:16 +0000 |
---|---|---|
committer | nicm <nicm> | 2021-01-04 08:43:16 +0000 |
commit | bd0fb22f0a206a73ec3f41322571d56d9d7d7c5d (patch) | |
tree | a66752a7b2677b92bc4eec51a514b005ce0b9540 /tmux.1 | |
parent | 606bd5f8c6be326ea2e4746de5d5e007fd04eef8 (diff) | |
download | rtmux-bd0fb22f0a206a73ec3f41322571d56d9d7d7c5d.tar.gz rtmux-bd0fb22f0a206a73ec3f41322571d56d9d7d7c5d.tar.bz2 rtmux-bd0fb22f0a206a73ec3f41322571d56d9d7d7c5d.zip |
Add a variant of remain-on-exit that only keeps the pane if the program
failed, GitHub issue 2513.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -4181,10 +4181,13 @@ interactive application starts and restores it on exit, so that any output visible before the application starts reappears unchanged after it exits. .Pp .It Xo Ic remain-on-exit -.Op Ic on | off +.Op Ic on | off | failed .Xc A pane with this flag set is not destroyed when the program running in it exits. +If set to +.Ic failed , +then only when the program exit status is not zero. The pane may be reactivated with the .Ic respawn-pane command. |