mirror of
https://github.com/tmux/tmux.git
synced 2025-12-24 09:46:06 +00:00
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:
@@ -448,6 +448,14 @@ const struct options_table_entry options_table[] = {
|
||||
"'User0', 'User1' and so on."
|
||||
},
|
||||
|
||||
{ .name = "forward-unrequested-escseq",
|
||||
.type = OPTIONS_TABLE_FLAG,
|
||||
.scope = OPTIONS_TABLE_SERVER,
|
||||
.default_num = 0,
|
||||
.text = "Whether unrequested escape sequences are forwarded to "
|
||||
"clients. Can be 'off' (disallowed) or 'on' (allowed)."
|
||||
},
|
||||
|
||||
/* Session options. */
|
||||
{ .name = "activity-action",
|
||||
.type = OPTIONS_TABLE_CHOICE,
|
||||
|
||||
Reference in New Issue
Block a user