Skip to main content

write_scroll_region

Function write_scroll_region 

Source
pub fn write_scroll_region<W: Write>(
    w: &mut W,
    top: u16,
    bottom: u16,
) -> Result<()>
Expand description

Set top and bottom margins with DECSTBM, ESC [ <top+1> ; <bottom+1> r.

top and bottom are zero-based API row indices; the terminal parameters are one-based.