GhosttyTerminalSelectionSession<SelectionT> class
final
Shared mutable selection state for terminal widgets.
This owns the small interaction state machine that both terminal views currently share: active selection, hovered hyperlink, the line-selection anchor row, and the one-shot tap-clear guard used after word selection.
Constructors
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- hasSelection → bool
-
no setter
- hoveredHyperlink → String?
-
no setter
- lineSelectionAnchorRow → int?
-
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selection → SelectionT?
-
no setter
Methods
-
armIgnoreNextTapClear(
) → void -
clearHoveredHyperlink(
) → bool -
clearLineSelectionAnchorRow(
) → void -
clearSelection(
) → void -
consumeIgnoreNextTapClear(
) → bool -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
reset(
) → void -
resetIgnoreNextTapClear(
) → void -
setLineSelectionAnchorRow(
int? row) → void -
toString(
) → String -
A string representation of this object.
inherited
-
updateHoveredHyperlink(
String? uri) → bool -
updateSelection(
SelectionT? nextSelection) → bool
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited