[READ-ONLY] Mirror of https://github.com/bombshell-dev/tty. Platform independent 2D layout engine for terminal applications based on Clay bomb.sh/docs/tty
Something went wrong. Try again.
feat(input): color-scheme events via DECDSR 996 + mode 2031 master
The probe now subscribes to mode 2031 (CSI ? 2031 h) and queries the current scheme (CSI ? 996 n); both the reply and the unsolicited push are CSI ? 997 ; Ps n (1=dark, 2=light), which the parser recognizes as a new CapabilityEvent key "color-scheme" — folded into RuntimeCapabilities.theme.scheme. Live dark/light switching is now tracked, resolving terminfo-spec §11's deferral (DECSET 2510 tracked color queries deferred in its place). The compositing demo folds scheme events and re-sends the OSC 10/11 queries on each scheme change (the report carries no colors), so the UI polarity flip and compositing destinations follow OS appearance changes live.
Author Nate Moore Date (Oct 12, 2026, 1:20 AM UTC) Commit e8a442dc e8a442dc79baafefef59c3d94df551c2c2be8edc Parent 1af3e9ad 1af3e9ad7e5255ffec71bf17d2ec236266f0786e