You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Program default-background changes leave earlier terminal rows black #37192
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/web
Steps to reproduce
Open a web terminal and print ordinary text rows. Let them render.
Run xtermcontrol --bg=rgb:44/55/66 without a full-screen redraw. The proof scenario invokes the unchanged binary from a raw-mode Node wrapper on keypress to avoid unrelated shell redraws.
Observe earlier rows and the canvas padding.
Expected behavior
The terminal uses the new default background throughout the screen, while explicit cell backgrounds keep their colors.
Actual behavior
xtermcontrol exits successfully, but earlier rows and canvas padding remain black. The effective frame background changes while cached cells retain the old resolved colors. Default foreground changes and resets share the cache invalidation problem.
Impact
Minor bug or occasional failure. Conditional on programs changing default colors after rows have rendered; user incidence unknown.
Linux web Chromium. Desktop, mobile and remote behavior unproved.
Logs or stack traces
The existing public ANSI-color case fails after OSC 11 on main: frame background updates, previously rendered cell backgrounds do not. The real-client xtermcontrol scenario also fails on main and passes with the fix.
Screenshots, recordings, or supporting files
Found by Terminal Improvement Bug Hunt (GPT 6.1 Sol), independently confirmed by Claude Opus 5.5 on main 789d10f, then reproduced again for this fix.
Activity