From a51668ca0690b84762c5a2f2dd34b94fa566f559 Mon Sep 17 00:00:00 2001 From: nicm Date: Thu, 18 Oct 2018 08:04:14 +0000 Subject: Support OSC 52 ? to read the top buffer inside tmux (when set-clipboard is changed to on), also add refresh-client -l to ask tmux to use the same mechanism to get the clipboard from the terminal outside tmux. GitHub issue 1477. --- tmux.1 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'tmux.1') diff --git a/tmux.1 b/tmux.1 index fac01887..1111a0e4 100644 --- a/tmux.1 +++ b/tmux.1 @@ -917,8 +917,8 @@ is used, the .Ic update-environment option will not be applied. .It Xo Ic refresh-client +.Op Fl lS .Op Fl C Ar width,height -.Op Fl S .Op Fl t Ar target-client .Xc .D1 (alias: Ic refresh ) @@ -931,6 +931,10 @@ is specified, only update the client's status line. .Pp .Fl C sets the width and height of a control client. +.Fl l +requests the clipboard from the client using the +.Xr xterm 1 +escape sequence and stores it in a new paste buffer. .It Xo Ic rename-session .Op Fl t Ar target-session .Ar new-name @@ -3890,7 +3894,7 @@ option. .El .Pp When a pane is first created, its title is the hostname. -A pane's title can be set via the OSC title setting sequence, for example: +A pane's title can be set via the title setting escape sequence, for example: .Bd -literal -offset indent $ printf '\e033]2;My Title\e033\e\e' .Ed @@ -4444,7 +4448,7 @@ Indicate that the terminal supports the .Ql direct colour RGB escape sequence (for example, \ee[38;2;255;255;255m). .Pp -If supported, this is used for the OSC initialize colour escape sequence (which +If supported, this is used for the initialize colour escape sequence (which may be enabled by adding the .Ql initc and -- cgit