Add infrastructure to work out the best target given a pane or window

alone and use it to add pane_died and pane_exited hooks.
This commit is contained in:
nicm
2015-12-16 21:50:37 +00:00
parent 8eb1a7d5dc
commit 021c64310d
10 changed files with 91 additions and 13 deletions

6
tmux.1
View File

@ -3230,6 +3230,12 @@ Run when a client is attached.
Run when a client is detached
.It client-resized
Run when a client is resized.
.It pane-died
Run when the program running in a pane exits, but
.Ic remain-on-exit
is on so the pane has not closed.
.It pane-exited
Run when the program running in a pane exits.
.El
.Pp
Hooks are managed with these commands: