Skip to main content

write_kitty_graphics

Function write_kitty_graphics 

Source
pub fn write_kitty_graphics<W: Write>(
    w: &mut W,
    options: &[&str],
    payload: &[u8],
) -> Result<()>
Expand description

Frame a graphics payload as ESC _ G <options> [;<payload>] ESC \.

options are emitted verbatim and joined with commas. The semicolon before payload is omitted when payload is empty.