tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

tmux 3.7c options, hooks and formats

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.

Raku
LibTmux::Catalogue
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 previewOpen reference