Function coded_chars::control::cursor::position_report

source ·
pub fn position_report(l: usize, c: usize) -> ControlSequence
Expand description

§CPR - Active position report

If the DEVICE COMPONENT SELECT MODE (DCSM) is set to PRESENTATION, CPR is used to report the active presentation position of the sending device as residing in the presentation component at the l-th line position according to the line progression and at the c-th character.

If the DEVICE COMPONENT SELECT MODE (DCSM) is set to DATA, CPR is used to report the active data position of the sending device as residing in the data component at the l-th line position according to the line progression and at the c-th character position according to the character progression.

CPR may be solicited by a DEVICE STATUS REPORT (DSR) or be sent unsolicited.