RemotePlan class final

A frame reduced to its changed cells for the wire: the grid size, repaint/scroll flags, a per-frame style table, and the changed column-range patches. The client applies the patches to a CellBuffer mirror and rebuilds the dirty rows from it (reusing the span builder), so only changed cells travel — the efficiency ANSI gets implicitly.

Constructors

RemotePlan({required CellSize size, required bool fullRepaint, required List<CellStyle> styleTable, required List<RemoteRowPatch> patches, int? scrollUpRows, List<ImagePlacement> placements = const <ImagePlacement>[]})
const

Properties

fullRepaint → bool
final
hashCode → int
The hash code for this object.
no setterinherited
patches → List<RemoteRowPatch>
Changed column-range patches.
final
placements → List<ImagePlacement>
Inline images placed this frame (browser surface). The grid cells under each placement are blanked in patches; the client overlays an <img> (bytes arrive separately, once per id). Derived fresh every frame, so an image scrolled away or covered simply stops appearing here.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
scrollUpRows → int?
final
size → CellSize
final
styleTable → List<CellStyle>
Distinct styles used by the patches, referenced by index from runs.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited