Const
requestExtendedCursorPosition (DECXCPR) is a sequence for requesting the cursor position report including the current page number.
CSI ? 6 n
The terminal will report the cursor position as a CSI sequence in the following format:
CSI ? Pl ; Pc ; Pp R
Where Pl is the line number, Pc is the column number, and Pp is the page number.
https://vt100.net/docs/vt510-rm/DECXCPR.html
use requestExtendedCursorPositionReport instead.
requestExtendedCursorPosition (DECXCPR) is a sequence for requesting the cursor position report including the current page number.
CSI ? 6 n
The terminal will report the cursor position as a CSI sequence in the following format:
CSI ? Pl ; Pc ; Pp R
Where Pl is the line number, Pc is the column number, and Pp is the page number.