Skip to main content

write_tmux_passthrough

Function write_tmux_passthrough 

Source
pub fn write_tmux_passthrough<W: Write>(w: &mut W, seq: &[u8]) -> Result<()>
Expand description

Wrap seq in a tmux passthrough frame, ESC P tmux ; <escaped-seq> ESC \.

Each literal ESC byte inside seq is doubled so the intermediate layer passes it through to the outer terminal.