Module state

Source
Expand description

Mutable terminal model, cursor operations, screen switching, and reflow.

TerminalState is a pure in-memory state machine. Public fields and derived deserialization make it possible to construct states that violate the dimensions, cursor, scroll-region, hyperlink, or soft-wrap invariants established by its constructors. Mutation methods assume constructor-valid state unless their documentation says otherwise.

Structs§

TerminalConfig
Construction settings for TerminalState.
TerminalState
Complete mutable terminal state.

Enums§

ActiveScreen
Screen buffer selected for rendering and mutation.
TerminalResizePolicy
Policy used when reflowing the normal screen during resize.