Skip to main content

write_cpr

Function write_cpr 

Source
pub fn write_cpr<W: Write>(w: &mut W, line: u16, column: u16) -> Result<()>
Expand description

Encode a standard Cursor Position Report response, ESC [ <line> ; <column> R.

line and column are one-based terminal coordinates; values less than 1 are clamped to 1.