From 74b2deae1ceb53efdf04f9fb6036586856724e1b Mon Sep 17 00:00:00 2001 From: nicm Date: Fri, 9 Jun 2017 09:21:24 +0000 Subject: Add a hook when the clipboard is set. --- tmux.1 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index 2d7be7c6..025adf69 100644 --- a/tmux.1 +++ b/tmux.1 @@ -2420,13 +2420,15 @@ The default is 100. .Op Ic on | external | off .Xc Attempt to set the terminal clipboard content using the -\ee]52;...\e007 .Xr xterm 1 -escape sequences, if there is an +escape sequence, if there is an .Em \&Ms entry in the .Xr terminfo 5 -description. +description (see the +.Sx TERMINFO EXTENSIONS +section). +.Pp If set to .Ic on , .Nm @@ -3230,7 +3232,7 @@ set-hook after-split-window "selectl even-vertical" .Ed .Pp In addition, the following hooks are available: -.Bl -tag -width "XXXXXXXXXXXXXXXX" +.Bl -tag -width "XXXXXXXXXXXXXXXXXXXXXX" .It alert-activity Run when a window has activity. See @@ -3255,6 +3257,10 @@ 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-set-clipboard +Run when the terminal clipboard is set using the +.Xr xterm 1 +escape sequence. .It session-created Run when a new session created. .It session-closed -- cgit