GhosttyTerminalLine class final

Single styled line within a GhosttyTerminalSnapshot.

Annotations

Constructors

GhosttyTerminalLine(List<GhosttyTerminalRun> runs)
const
GhosttyTerminalLine.empty()
const

Properties

cellCount int
no setter
hashCode int
The hash code for this object.
no setteroverride
runs List<GhosttyTerminalRun>
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
text String
no setter

Methods

hyperlinkAtCell(int col) String?
Returns the OSC 8 hyperlink at the given zero-based terminal column.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
textForCellRange(int startCol, int endColInclusive) String
toString() String
A string representation of this object.
inherited
wordSelectionAtCell(int row, int col, {GhosttyTerminalWordBoundaryPolicy policy = const GhosttyTerminalWordBoundaryPolicy()}) GhosttyTerminalSelection?
Returns an inclusive selection covering the word-like token at col.

Operators

operator ==(Object other) bool
The equality operator.
override