Skip to content

Hidden/invisible (SGR 8)

Category: sgr · Tags: ECMA-48 Standard · Specification ↗

SGR 8 renders text invisible by setting the foreground color to match the background. The sequence is ESC [ 8 m. The text is still present and selectable — it is hidden visually but not removed from the terminal buffer. Reset with SGR 28.

Supported by 0 of 6 backends (0%)

Support Matrix

BackendVersionSupportNotes
Alacritty0.26.0~ partialNot exposed via alacritty_terminal API
Ghostty1.3.1~ partialGhostty parses SGR 8 but doesn't expose hidden in cell data
Kitty0.40.0~ partialNot exposed via Python batch bridge
WezTerm0.1.0-fork.5~ partialNot exposed via wezterm-term API
xterm.js5.5.0~ partialParser handles SGR 8 but headless mode doesn't expose hidden attribute
vt1000.1.0✗ noNot implemented — pure TypeScript emulator

Powered by Termless
Playwright for Terminals