Skip to main content

Module passthrough

Module passthrough 

Source
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 seq in one or more DCS passthrough strings for screen-style forwarding.
write_tmux_passthrough
Wrap seq in a tmux passthrough frame, ESC P tmux ; <escaped-seq> ESC \.