TerminalModeReader
Read-only public access to durable terminal mode state.
Intended for parser, input, and UI handoff. The returned snapshot is immutable and detached from internal storage, so callers cannot mutate core state accidentally. Factory-created buffers expose each mode snapshot atomically, including during mutation. An operation that also reads grid/cursor state still requires the terminal's external serialization to keep those separate reads coherent.
Inheritors
Functions
Link copied to clipboard
Returns one atomic packed snapshot for input encoders.
Link copied to clipboard
Returns one atomic snapshot of the published packed mode subset.
Link copied to clipboard
Returns an immutable snapshot of the published TerminalModeSnapshot fields.