tty: Add option to forward unrequested escape sequence

Adds an option "forward-unrequested-escseq" for tmux to forward
unrequested escape sequences to the client. For example, when an OSC 52
escape sequence is received outside a designated TTY_OSC52QUERY context,
it will be passed on to the client application if the option is on,
otherwise it's discarded.
This commit is contained in:
holio0
2024-10-17 10:34:45 +08:00
parent 46f3846659
commit 8ca212579a
3 changed files with 17 additions and 2 deletions

5
tmux.1
View File

@@ -4565,6 +4565,11 @@ This respects the
.Ic base-index
option if it has been set.
If off, do not renumber the windows.
.It Xo Ic forward-unrequested-escseq
.Op Ic on | off
.Xc
If on, when an unrequested escape sequence is received, tmux will forward it to client.
If off, tmux will ignore it.
.It Ic repeat-time Ar time
Allow multiple commands to be entered without pressing the prefix key again
in the specified