DSR—Cursor Position Report (CPR)

The host asks the terminal for a cursor position report.

Format

Exchange Sequence Meaning
Request
(Host to terminal)
CSI 6 n The host asks for a cursor position report (CPR).
CPR response
(Terminal to host)
CSI Pl; Pc R The terminal indicates that the cursor is currently at line Pl, column Pc.