tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

hook tmux3.7c

pane-exited

Run when the program running in a pane exits.

Scope
window, pane
Set
set-hook pane-exited command
Read
show-hooks pane-exited

Description#

Run when the program running in a pane exits.

Releases#

Source#

Defined in
options-table.c:1695
Fired from
C source reference
options_table, notify_pane
CLI Manual
Original manual entry

Used by#

Library documentation that names this hook.

Python
libtmux_mcp.tools.hook_tools.show_hook
Rust
mcp.views.Hook.name, options.generated.PANE_EXITED
Go
tmux.PaneHookValues.PaneExited, tmux.WindowHookValues.PaneExited
C#
LibTmux.Mcp.HookEntry, LibTmux.Mcp.HookEntry.Name
Esc

Type to search.

Reference preview Open reference