Skip to content

DECALN screen alignment (ESC # 8)

Category: reset · Baseline: modern · Tags: VT100 · Specification ↗

ESC # 8
DECALN (DEC Screen Alignment Test) fills the entire screen with the letter 'E'. The sequence is ESC # 8. Originally designed for service technicians to verify screen alignment on CRT displays, it is now primarily used as a quick way to fill the screen with known content for testing purposes. DECALN also resets scroll margins and moves the cursor to the home position (row 1, column 1).
How this is testedautomated
Send \x1b#8 (DECALN), verify cell at (0,0) contains 'E'.

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 7 of 9 terminals (78%). Not supported by: vterm.js, vt100.js. Part of the Modern TUI baseline. Notes: vterm.js: DECALN not implemented in vterm.js; vt100.js: DECALN not implemented in vt100.js baseline emulator.

Supported by 10 of 14 backends (71%)

Terminal Applications

TerminalVersionSupportNotes
iTerm23.6.9✓ yes
Ghostty1.3.1✓ yes
VS Code✓ yes
Cursor✓ yes
Warp✗ no
Terminal.app✗ no

Headless Backends

Parser correctness only — a means the parser accepts the sequence.

BackendVersionSupportNotes
Alacritty0.26.0✓ yes
Kitty0.40.0✓ yes
WezTerm0.1.0-fork.5✓ yes
xterm.js5.5.0✓ yes
vt100.js0.2.1✗ noDECALN not implemented in vt100.js baseline emulator
vterm0.2.0✗ noDECALN not implemented in vterm.js