Appearance
Erase character (ECH)
ESC [ N XECH replaces N characters at the cursor position with blank spaces. The sequence is
ESC [ N X (default N=1). Unlike delete (DCH), erase does not shift subsequent characters — it overwrites in place. The cursor position is not changed.How this is testedautomated
Write "ABCDE", move to col 1, send
Write "ABCDE", move to col 1, send
\x1b[3X (ECH 3), verify first 3 cells are blank and "D" remains at col 3.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-04-06
Supported by 12 of 14 backends (86%)
Terminal Applications
| Terminal | Version | Support | Notes |
|---|---|---|---|
| iTerm2 | 3.6.9 | ✓ yes | |
| Ghostty | 1.3.1 | ✓ yes | |
| VS Code | ✓ yes | ||
| Warp | ✓ yes | ||
| Cursor | ✓ yes | ||
| Terminal.app | ✓ yes |