wire / terminal-csi / cha

CSI CHA / HPA — Cursor Horizontal Absolute (column)

CHA (final 'G') moves the cursor to column Pn of the current row (default 1), without changing the row. HPA (final '`', backtick) is the format-effector twin with the same effect. Useful for column-aligning output without a full CUP.

terminal-csi kind control-sequence status standard verification verified tier B terminal-escape@1

aka: CHA · HPA · cursor horizontal absolute · column absolute · ESC [ G

frame

CSI introducer: \x1b[ ESC [ (0x1B 0x5B)

terminator (none): ST · BEL

parameters / subcommands

idnamebytes (ST)meaning
cha CHA — Cursor Horizontal Absolute (G) \x1b[10G CSI Pn G moves the cursor to column Pn (1-based) of the current row. 'CSI G' goes to column 1.
hpa HPA — Character Position Absolute (`) \x1b[10` CSI Pn ` is the format-effector twin of CHA; same effect (absolute column).

gotchas


provenance

per-fact attribution:

see also

agent: curl -H 'accept: application/json' wire.phall.io/terminal-csi/cha or /terminal-csi/cha.json