option tmux3.2a
remain-on-exit
A pane with this flag set is not destroyed when the program running in it exits.
- Scope
- window, pane
- Type
- Choice
- Default
off- Values
offonfailed- Set
-
set-option-w remain-on-exit value - Read
-
show-options-w remain-on-exit
Description#
A pane with this flag set is not destroyed when the program running in it exits. If set to
failed, then only when the program exit status is not zero. The pane may be reactivated with the respawn-pane command.Releases#
Source#
- Defined in
options-table.c:961- C source reference
options_table- CLI Manual
- Original manual entry
Used by#
Library documentation that names this option.
- TypeScript
server.Server.showGlobalOptions,types.NewSessionOptions.shellCommand,types.NewWindowOptions.shellCommand,types.SplitOptions.shellCommand- Rust
options.generated.REMAIN_ON_EXIT,options.OptionSchema.scopes,pane.Pane.is_dead,pane.Pane.pid- Go
tmux.GlobalWindowScope.SetRemainOnExit,tmux.Pane.SetRemainOnExit,tmux.PaneOptionValues.RemainOnExit,tmux.RemainOnExit,tmux.Window.SetRemainOnExit,tmux.WindowOptionValues.RemainOnExit- Java
io.github.libtmux.Pane.dead- C#
LibTmux.Pane.Dead,LibTmux.PaneObservation.WatchAsync- C++
libtmux::Pane::dead,libtmux::Pane::exit_status- F#
LibTmux.FSharp.Control.watchPane