render/mirror_grid library

Classes

GridUpdate
A render update: either a full replace or a set of changed lines.
LineCells
One line's cells (native types — decoupled from FRB so MirrorGrid is unit-testable without the native lib).
MirrorGrid
Mutable terminal grid. Applies incremental line deltas in place and notifies the painter to repaint.
TerminalGridView
Read-only view of the terminal grid that the engine exposes to consumers.

Constants

kCursorColorUnset → const int
Sentinel cursorColor meaning "no OSC 12 set" (matches Rust CURSOR_COLOR_UNSET).
kOverscanLineTag → const int
Sentinel LineCells.line on incremental scroll FFI updates (matches Rust OVERSCAN_LINE_TAG). Full snapshots tag overscan with screen_lines instead.