Vertical Position Absolute (VPA)
Move the cursor to a specific row.
- 0x1B
- ESC
- 0x5B
- [
- ____
- y
- 0x64
- d
This sequence performs cursor position (CUP) with y
set
to the parameterized value and x
set to the current cursor position.
There is no additional or different behavior for using VPA
.
Because this invokes CUP
, the cursor column (y
) can change if it is
outside the bounds of the CUP
operation. For example, if
origin mode is set and the current cursor position is outside
of the scroll region, the column will be adjusted.