Artifact f7f3ef3f1285eeb069f01aaeea320c632269a1dac4a519b4cb3fa9cba71751b5:
- File
src/tui/width.c
-
2026-11-19 13:19:32
— part of check-in
[fc4294d0ea]
on branch tui
— Harden the terminal interface after review
Quitting or pressing Esc again while a request will not stop now escalates from SIGINT to SIGTERM to SIGKILL instead of hanging; a terminated or crashed interface cancels its running request and puts the terminal back; a request that exits without its events is reported. A run is settled when the child exits, not when its output closes. Children run detached from the terminal and get none of the interface's descriptors. Text is sanitized before it reaches the screen: only colour escapes survive, other escapes and control characters are dropped. A streamed reply is committed early only by whole lines, so a resize cannot duplicate or lose text, and a cut-off reply that had lines committed says so. Split key sequences on slow links are kept for the rest; the renderer redraws fully after a resize even when output was committed first. The interface's unit tests run under Fil-C too. (user: dmestas, size: 11057) [annotate] [blame] [check-ins using]
- 2026-11-19 13:34:51 — part of check-in [ad4310396c] on branch trunk — CI green on fc4294d0eafd; Fil-C pass (user: dmestas, size: 11057) [annotate] [blame] [check-ins using]
-
2026-11-19 13:19:32
— part of check-in
[fc4294d0ea]
on branch tui
— Harden the terminal interface after review