mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-14 15:56:13 +03:00
15 lines
585 B
Plaintext
15 lines
585 B
Plaintext
import VTSequence from "@/components/VTSequence";
|
|
|
|
# Horizontal Position Absolute (HPA)
|
|
|
|
<VTSequence sequence={["CSI", "Px", "`"]} />
|
|
|
|
This sequence performs [cursor position (CUP)](/vt/cup) with `x` set
|
|
to the parameterized value and `y` set to the current cursor position.
|
|
There is no additional or different behavior for using `HPA`.
|
|
|
|
Because this invokes `CUP`, the cursor row (`x`) 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 row will be adjusted.
|