Add pane focus hooks.

This commit is contained in:
nicm
2018-07-04 12:25:26 +00:00
parent 2fae6a5761
commit d254293a6d
2 changed files with 18 additions and 8 deletions

8
tmux.1
View File

@ -3423,6 +3423,14 @@ Run when the program running in a pane exits, but
is on so the pane has not closed.
.It pane-exited
Run when the program running in a pane exits.
.It pane-focus-in
Run when the focus enters a pane, if the
.Ic focus-events
option is on.
.It pane-focus-out
Run when the focus exits a pane, if the
.Ic focus-events
option is on.
.It pane-set-clipboard
Run when the terminal clipboard is set using the
.Xr xterm 1