@nightgrey/ansi
    Preparing search index...

    Function extendedCursorPositionReport

    • Extended Cursor Position Report (DECXCPR) is a control sequence that reports the cursor's position along with the page number (optional).

      CSI ? Pl ; Pc R
      
      CSI ? Pl ; Pc ; Pv R
      

      Where Pl is the line number, Pc is the column number, and Pv is the page number.

      If the page number is zero or negative, the returned sequence won't include the page number.

      Parameters

      • line: number

        The line number (minimum 1)

      • column: number

        The column number (minimum 1)

      • page: number

        The page number (optional if < 1)

      Returns string

      The DECXCPR escape sequence