Expand description
DCS passthrough wrappers for terminal multiplexers.
§Category
Passthrough strings tunnel an inner escape sequence through an intermediate terminal layer so the outer terminal receives it.
§DCS framing
Both writers emit 7-bit DCS strings terminated by ST (ESC \\). The tmux
form prefixes tmux; and doubles literal ESC bytes inside the payload; the
screen form can split long payloads into multiple adjacent DCS strings.
§Mode interaction
Passthrough is not controlled by an ANSI/DEC mode. It is a framing convention around another sequence, so the inner sequence may have its own mode requirements.
Functions§
- write_
screen_ passthrough - Wrap
seqin one or more DCS passthrough strings for screen-style forwarding. - write_
tmux_ passthrough - Wrap
seqin a tmux passthrough frame,ESC P tmux ; <escaped-seq> ESC \.