CellDiffOption class final
Controls how a Cell participates in terminal-buffer diffing.
Most cells use normal. skip preserves terminal content owned by an external renderer, while alwaysUpdate redraws a cell even when its value is unchanged. forcedWidth is intended for escape-sequence-backed content whose terminal width cannot be inferred from its text.
Constructors
- CellDiffOption.forcedWidth(int width)
-
Uses
widthfor diff traversal and cursor tracking.factory
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- isAlwaysUpdate → bool
-
Whether this cell is redrawn even when unchanged.
no setter
- isForcedWidth → bool
-
Whether width overrides the measured cell width.
no setter
- isNormal → bool
-
Whether normal value-based diffing is enabled.
no setter
- isSkip → bool
-
Whether terminal output for this cell is suppressed.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → int?
-
The forced terminal width, or
nullfor non-forced options.final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override
Constants
- alwaysUpdate → const CellDiffOption
- Writes this cell on every rendered frame.
- normal → const CellDiffOption
- Uses normal value-based diffing.
- skip → const CellDiffOption
- Never writes this cell during a terminal-buffer diff.