diff options
author | Thomas Adam <thomas@xteddy.org> | 2018-07-04 15:02:25 +0100 |
---|---|---|
committer | Thomas Adam <thomas@xteddy.org> | 2018-07-04 15:02:25 +0100 |
commit | 20154f391ea0821d4e58ce952b69e08a33209b74 (patch) | |
tree | c4dc2791ead38feeb455d5279ecdbe31f5d0862c /tmux.1 | |
parent | 5c0ce192ed313c988f7d67e4911ef602a894cea0 (diff) | |
parent | 98c4291df2201271a0d70fc141cfaf744021ff35 (diff) | |
download | rtmux-20154f391ea0821d4e58ce952b69e08a33209b74.tar.gz rtmux-20154f391ea0821d4e58ce952b69e08a33209b74.tar.bz2 rtmux-20154f391ea0821d4e58ce952b69e08a33209b74.zip |
Merge branch 'obsd-master'
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 20 |
1 files changed, 18 insertions, 2 deletions
@@ -3427,6 +3427,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 @@ -3448,12 +3456,14 @@ Run when a window is unlinked from a session. Hooks are managed with these commands: .Bl -tag -width Ds .It Xo Ic set-hook -.Op Fl gu +.Op Fl gRu .Op Fl t Ar target-session .Ar hook-name .Ar command .Xc -Sets (or with +Without +.Fl R , +sets (or with .Fl u unsets) hook .Ar hook-name @@ -3469,6 +3479,12 @@ hooks (for with .Fl t ) . Like options, session hooks inherit from the global ones. +.Pp +With +.Fl R , +run +.Ar hook-name +immediately. .It Xo Ic show-hooks .Op Fl g .Op Fl t Ar target-session |