Appearance
EL erases with bg color โ
EL (Erase in Line) should fill erased cells with the current background color, not the default background. When a background color is set via SGR (e.g., SGR 42 for green) before issuing EL, the erased area should be painted with that background color. This is how TUI applications create colored status bars, highlighted regions, and filled backgrounds โ they set a background color and erase the line to paint the entire line with that color.
How this is tested: Set green background with
\x1b[42m, write text, move to start of line, send \x1b[K (EL 0), verify erased cells have the green background color.Analysis2026-03-26
Supported by all 5 tested terminals โ universal adoption. Part of the Core TUI baseline.
Supported by 9 of 11 backends (82%)
Terminal Applications โ
| Terminal | Version | Support | Notes |
|---|---|---|---|
| iTerm2 | 3.6.9 | โ yes | |
| Ghostty | 1.3.1 | โ yes | |
| VS Code | 1.112.0 | โ yes | |
| Warp | 0.2026.03.18.08.24.03 | โ yes | |
| Cursor | 2.6.21 | โ yes | |
| Kitty | 0.46.2 | โ yes | |
| Terminal.app | 2.15 | โ yes |