Skip to main content

write_in_band_resize

Function write_in_band_resize 

Source
pub fn write_in_band_resize<W: Write>(
    w: &mut W,
    height_cells: u16,
    width_cells: u16,
    height_pixels: u16,
    width_pixels: u16,
) -> Result<()>
Expand description

Encode an in-band resize report as ESC [ 48 ; <height_cells> ; <width_cells> ; <height_pixels> ; <width_pixels> t.

The report is intended for applications that enabled Mode::IN_BAND_RESIZE. All dimensions are emitted as decimal u16 values.