Ubuntu's prompt emits OSC 3008 context markers (ESC ] 3008;... ESC \), which were printed as text. String sequences are now swallowed up to BEL or ST, like a real terminal. CSI commands now run one clock after their final byte with registered counts, and scroll ranges are computed over two clocks, so the design no longer scrapes by on timing. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>