tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

hook tmux3.7c

session-closed

Run when a session closed.

Scope
session
Set
set-hook session-closed command
Read
show-hooks session-closed

Description#

Run when a session closed.

Releases#

Source#

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

Used by#

Library documentation that names this hook.

Python
libtmux_mcp.tools.hook_tools.show_hooks
Rust
options.generated.SESSION_CLOSED
Go
tmux.ServerHookValues.SessionClosed, tmux.SessionHookValues.SessionClosed
Esc

Type to search.

Reference preview Open reference