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

GhosttyTerminalSelectionSession()

Properties

hashCode int
The hash code for this object.
no setterinherited
hasSelection bool
no setter
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
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
updateSelection(SelectionT? nextSelection) bool

Operators

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