Artifact 0e116895d12712ca0cffaff8249465cbe39d997d2334ac20649868400efb0fd3:
- File
src/tui/app.c
-
2026-11-22 11:08:00
— part of check-in
[f99ea5c3ff]
on branch ghostty-fixes
— tui: consume terminal replies, pick light or dark from OSC 11, signal when a reply is ready
The decoder consumes OSC, DCS, APC, PM and SOS replies while a probe is outstanding and every private CSI reply (DA1, DA2, DECRQM, kitty flags, colour scheme reports) always, so an answer never reaches the editor as an Escape and typed text. At start pic asks for the background colour and DA1, waits up to 150 ms for DA1, and keeps the reply window open for a second; the answer decides system and light/dark themes ahead of COLORFGBG. Focus reports (DECSET 1004) gate a BEL plus OSC 9 (OSC 777 in foot and VTE) when a turn ends; the notifyWhenDone setting turns it off. (user: dmestas, size: 218886) [annotate] [blame] [check-ins using]
-
2026-11-22 12:43:09
— part of check-in
[84488a6b6a]
on branch trunk
— land ghostty-fixes
via mac, quarry (user: dmestas, size: 218886) [annotate] [blame] [check-ins using]
-
2026-11-22 11:08:00
— part of check-in
[f99ea5c3ff]
on branch ghostty-fixes
— tui: consume terminal replies, pick light or dark from OSC 11, signal when a reply is ready