tmuxtmuxOptions, hooks and formats

Choose documentation 1

latest

tmux catalog version

Latest (3.7c) 3.7c 3.2a
English

hook tmux3.7c

session-window-changed

The session with ID session-id changed its active window to the window with ID window-id.

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

Description#

The session with ID session-id changed its active window to the window with ID window-id.

This text describes the control mode notification %session-window-changed, which tmux sends when this hook fires.

Releases#

Source#

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

Used by#

Library documentation that names this hook.

Rust
options.generated.SESSION_WINDOW_CHANGED
Go
tmux.ServerHookValues.SessionWindowChanged, tmux.SessionHookValues.SessionWindowChanged
Esc

Type to search.

Reference preview Open reference