mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
15 lines
589 B
Plaintext
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.
|