VtCellSnapshot class final
Snapshot of a raw terminal cell.
Constructors
- VtCellSnapshot({required int codepoint, required GhosttyCellContentTag contentTag, required GhosttyCellWide wide, required bool hasText, required bool hasStyling, required int styleId, required bool hasHyperlink, required bool isProtected, required GhosttyCellSemanticContent semanticContent, int? colorPaletteIndex, VtRgbColor? colorRgb})
-
const
- VtCellSnapshot.fromRaw(DartGhosttyCell cell)
-
factory
Properties
- codepoint → int
-
final
- colorPaletteIndex → int?
-
final
- colorRgb → VtRgbColor?
-
final
- contentTag → GhosttyCellContentTag
-
final
- hasExplicitBackgroundColor → bool
-
Whether this cell carries an explicit background color payload.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasHyperlink → bool
-
final
- hasStyling → bool
-
final
- hasText → bool
-
final
- isBackgroundColorOnly → bool
-
Whether this cell only contributes an explicit background color.
no setter
- isEmpty → bool
-
Whether this cell contains no text and no explicit background color.
no setter
- isProtected → bool
-
final
- isWideLead → bool
-
Whether this cell is the leading half of a wide grapheme.
no setter
- isWideTail → bool
-
Whether this cell is the trailing spacer half of a wide grapheme.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- semanticContent → GhosttyCellSemanticContent
-
final
- styleId → int
-
final
- text → String
-
no setter
- wide → GhosttyCellWide
-
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