version 1.510, 2016/10/16 19:55:52 |
version 1.511, 2016/10/16 22:06:40 |
|
|
Run when a client is detached |
Run when a client is detached |
.It client-resized |
.It client-resized |
Run when a client is resized. |
Run when a client is resized. |
|
.It client-session-changed |
|
Run when a client's attached session is changed. |
.It pane-died |
.It pane-died |
Run when the program running in a pane exits, but |
Run when the program running in a pane exits, but |
.Ic remain-on-exit |
.Ic remain-on-exit |
|
|
Run when a session closed. |
Run when a session closed. |
.It session-renamed |
.It session-renamed |
Run when a session is renamed. |
Run when a session is renamed. |
|
.It window-linked |
|
Run when a window is linked into a session. |
.It window-renamed |
.It window-renamed |
Run when a window is renamed. |
Run when a window is renamed. |
|
.It window-unlinked |
|
Run when a window is unlinked from a session. |
.El |
.El |
.Pp |
.Pp |
Hooks are managed with these commands: |
Hooks are managed with these commands: |
|
|
.It Li "history_limit" Ta "" Ta "Maximum window history lines" |
.It Li "history_limit" Ta "" Ta "Maximum window history lines" |
.It Li "history_size" Ta "" Ta "Size of history in bytes" |
.It Li "history_size" Ta "" Ta "Size of history in bytes" |
.It Li "hook" Ta "" Ta "Name of running hook, if any" |
.It Li "hook" Ta "" Ta "Name of running hook, if any" |
|
.It Li "hook_pane" Ta "" Ta "ID of pane where hook was run, if any" |
.It Li "hook_session" Ta "" Ta "ID of session where hook was run, if any" |
.It Li "hook_session" Ta "" Ta "ID of session where hook was run, if any" |
.It Li "hook_session_name" Ta "" Ta "Name of session where hook was run, if any" |
.It Li "hook_session_name" Ta "" Ta "Name of session where hook was run, if any" |
.It Li "hook_window" Ta "" Ta "ID of window where hook was run, if any" |
.It Li "hook_window" Ta "" Ta "ID of window where hook was run, if any" |