diff options
author | nicm <nicm> | 2020-09-02 13:46:35 +0000 |
---|---|---|
committer | nicm <nicm> | 2020-09-02 13:46:35 +0000 |
commit | 37b1600d9cf7076498760372dcc20f021e4c181a (patch) | |
tree | 32aac8e0a121c649164f61127cb014703cd6c1e8 /tmux.1 | |
parent | 60860aced8d424ef6c1d527b63842a0ea0f452ad (diff) | |
download | rtmux-37b1600d9cf7076498760372dcc20f021e4c181a.tar.gz rtmux-37b1600d9cf7076498760372dcc20f021e4c181a.tar.bz2 rtmux-37b1600d9cf7076498760372dcc20f021e4c181a.zip |
Add a -w flag to set- and load-buffer to send to clipboard using OSC 52.
GitHub issue 2363.
Diffstat (limited to 'tmux.1')
-rw-r--r-- | tmux.1 | 19 |
1 files changed, 18 insertions, 1 deletions
@@ -5651,12 +5651,21 @@ See the .Sx FORMATS section. .It Xo Ic load-buffer +.Op Fl w .Op Fl b Ar buffer-name +.Op Fl t Ar target-client .Ar path .Xc .D1 (alias: Ic loadb ) Load the contents of the specified paste buffer from .Ar path . +If +.Fl w +is given, the buffer is also sent to the clipboard for +.Ar target-client +using the +.Xr xterm 1 +escape sequence, if possible. .It Xo Ic paste-buffer .Op Fl dpr .Op Fl b Ar buffer-name @@ -5693,14 +5702,22 @@ The .Fl a option appends to rather than overwriting the file. .It Xo Ic set-buffer -.Op Fl a +.Op Fl aw .Op Fl b Ar buffer-name +.Op Fl t Ar target-client .Op Fl n Ar new-buffer-name .Ar data .Xc .D1 (alias: Ic setb ) Set the contents of the specified buffer to .Ar data . +If +.Fl w +is given, the buffer is also sent to the clipboard for +.Ar target-client +using the +.Xr xterm 1 +escape sequence, if possible. The .Fl a option appends to rather than overwriting the buffer. |