tmuxtmuxOptions, hooks and formats

Choose documentation 1

3.2a

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

tmux 3.2a options, hooks and formats

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
off on failed
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.

Raku
LibTmux::Catalogue
Erlang
tmux_pane, tmux_pane:wait_exit/2
TypeScript
pane.Pane.waitForExit, 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.PaneExited, tmux.PaneOptionValues.RemainOnExit, tmux.RemainOnExit, tmux.Window.SetRemainOnExit and 1 more
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
Esc

Type to search.

Reference previewOpen reference