pub fn write_screen_passthrough<W: Write>(
w: &mut W,
seq: &[u8],
limit: usize,
) -> Result<()>Expand description
Wrap seq in one or more DCS passthrough strings for screen-style forwarding.
The basic frame is ESC P <seq> ESC \. When limit > 0, seq is split into chunks of at most limit bytes separated by ESC \ ESC P; limit == 0 writes one frame.