Add a way (refresh-client -r) for control mode clients to provide OSC 10

and 11 responses to tmux so they can set the default foreground and
background colours, from George Nachman in GitHub issue 4014.
This commit is contained in:
nicm
2024-06-24 08:30:50 +00:00
parent db1665868f
commit 093b5a5518
6 changed files with 116 additions and 20 deletions

7
tmux.1
View File

@ -1357,6 +1357,7 @@ specified multiple times.
.Op Fl B Ar name:what:format
.Op Fl C Ar size
.Op Fl f Ar flags
.Op Fl r Ar pane:report
.Op Fl l Op Ar target-pane
.Op Fl t Ar target-client
.Op Ar adjustment
@ -1467,6 +1468,12 @@ for all windows in the attached session.
.Fl f
sets a comma-separated list of client flags, see
.Ic attach-session .
.Fl r
allows a control mode client to provide information about a pane via a report
(such as the response to OSC 10).
The argument is a pane ID (with a leading
.Ql % ) ,
a colon, then a report escape sequence.
.Pp
.Fl l
requests the clipboard from the client using the