Appearance
Cursor home
ESC [ HMoves the cursor to the home position (row 1, column 1). Equivalent to
ESC [ H or ESC [ 1;1 H. This is a special case of CUP with no parameters.
The parameterless form is a convenience alias for CUP row 1, column 1. Coordinates in ECMA-48 and DEC manuals are 1-based, which is a common off-by-one trap for emulator authors building zero-based internal grids. When origin mode is enabled, CUP-style addressing is relative to the scroll region rather than the full screen.How this is testedautomated
Write "ABC" then send
Write "ABC" then send
\x1b[H (CUP no params), verify cursor is at (0, 0).The same probe runs against headless backends (via Termless) and real terminal apps (via a daemon launched in each terminal). This lets us distinguish parser correctness from rendering correctness.
Analysis2026-05-17
Supported by all 12 tested terminals — universal adoption. Part of the Core TUI baseline.
Supported by 13 of 14 backends (93%)
Terminal Applications
| Terminal | Version | Support | Notes |
|---|---|---|---|
| iTerm2 | 3.6.9 | ✓ yes | |
| Ghostty | 1.3.1 | ✓ yes | |
| VS Code | ✓ yes | ||
| Warp | ✓ yes | ||
| Kitty | 0.46.2 | ✓ yes | |
| Cursor | ✓ yes | ||
| Terminal.app | ✓ yes |