tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

hook tmux3.7c

client-session-changed

Run when a client's attached session is changed.

Scope
session
Set
set-hook client-session-changed command
Read
show-hooks client-session-changed
Control mode
Also sent to control clients as %client-session-changed

Description#

Run when a client's attached session is changed.

Releases#

Source#

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

Used by#

Library documentation that names this hook.

Rust
options.generated.CLIENT_SESSION_CHANGED
Go
tmux.ServerHookValues.ClientSessionChanged, tmux.SessionHookValues.ClientSessionChanged
Esc

Type to search.

Reference preview Open reference