0220. TUI strips and local canvas
- Status: Accepted (owner implementation request, 2026-11-12)
- Plan: M-TUI.0, decision D1
Frames are immutable rows of styled spans; cell drawing uses a view-local canvas converted to strips. The measured record-held grid copies on each update. Reconsider only with a benchmark showing the 200×60 frame budget is missed. Span construction sanitizes controls, clipping follows grapheme boundaries, composition repairs split wide clusters, and presentation alone encodes ANSI.
The 100k-row integration benchmark includes both feed and clock input. Generated vector equality must avoid scanning identical immutable storage when recursive element equality is reflexive. Floating-point-containing layouts keep their elementwise IEEE comparison; unknown layouts conservatively decline the shortcut. The maintained compiler fixture and benchmark preserve both semantic and scaling evidence. Time snapshots are nonvisual metadata, while Clock continues to deliver Tick for application behavior.