TerminalReader
interface TerminalReader
Zero-allocation read contract for the terminal buffer.
Exposes viewport-relative state plus random-access helpers for the currently active screen buffer. Out-of-bounds probes never throw; they return stable sentinel values so renderers can remain branch-light.