Skip to main content

REQUEST_CURSOR_POSITION

Constant REQUEST_CURSOR_POSITION 

Source
pub const REQUEST_CURSOR_POSITION: &[u8] = b"\x1b[6n";
Expand description

Request standard cursor position: exact bytes ESC [ 6 n (b"\x1b[6n").

The terminal replies with CPR, ESC [ <line> ; <column> R, using one-based coordinates.