cursorUp

abstract fun cursorUp(n: Int = 1)

Moves the cursor up by n rows (CUU, CSI n A).

Stops at the top of the scroll region when the cursor is inside it, or at row 0 when outside. Non-positive values are no-ops.

Parameters

n

Number of rows. Must be >= 1.