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.
Inheritors
Properties
Link copied to clipboard
Number of retained off-screen history lines in the active buffer.
Link copied to clipboard
Current immutable effective palette, including application color overrides. Reading retains the existing object without allocating or reading a render frame. Synchronize with terminal mutations before reading; a retained palette remains safe to use after releasing that synchronization.
Link copied to clipboard
Active xterm window title.