GhosttyTerminalRenderSnapshot class final
High-fidelity visible render-state snapshot from Ghostty.
- Annotations
Constructors
-
GhosttyTerminalRenderSnapshot({required int cols, required int rows, required GhosttyRenderStateDirty dirty, required Color backgroundColor, required Color foregroundColor, required GhosttyTerminalRenderCursor cursor, required List<
GhosttyTerminalRenderRow> rowsData}) -
const
Properties
- backgroundColor → Color
-
The resolved default background color.
final
- cols → int
-
The visible viewport width in cells.
final
- cursor → GhosttyTerminalRenderCursor
-
The current cursor snapshot.
final
- dirty → GhosttyRenderStateDirty
-
The overall dirty state for this snapshot.
final
- foregroundColor → Color
-
The resolved default foreground color.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasViewportData → bool
-
Whether this snapshot contains row data for the current viewport.
no setter
- rows → int
-
The visible viewport height in cells.
final
-
rowsData
→ List<
GhosttyTerminalRenderRow> -
The visible render rows.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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