Cursor Previous Line (CPL)

Move the cursor up `n` cells and to the beginning of the line.

  1. 0x1B
    ESC
  2. 0x5B
    [
  3. ____
    n
  4. 0x46
    F

The parameter n must be an integer greater than or equal to 1. If n is less than or equal to 0, adjust n to be 1. If n is omitted, n defaults to 1.

The logic of this sequence is identical to Cursor Up (CUU) followed by Carriage Return (CR).