ghostty/website/app/vt/vpa/page.mdx
Mitchell Hashimoto b927760149 terminal: HPR, VPR
2023-10-07 09:32:58 -07:00

15 lines
589 B
Plaintext

import VTSequence from "@/components/VTSequence";
# Vertical Position Absolute (VPA)
<VTSequence sequence={["CSI", "Py", "d"]} />
This sequence performs [cursor position (CUP)](/vt/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](#TODO) is set and the current cursor position is outside
of the scroll region, the column will be adjusted.