Skip to main content

write_decxcpr

Function write_decxcpr 

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

Encode an extended Cursor Position Report response.

With page == 0, emits ESC [ ? <line> ; <column> R; otherwise emits ESC [ ? <line> ; <column> ; <page> R. line and column are clamped to at least 1.