selectAllSelection method

  1. @override
GhosttyTerminalSelection? selectAllSelection()
override

Returns a selection covering the full visible transcript.

Implementation

@override
GhosttyTerminalSelection? selectAllSelection() {
  if (lines.isEmpty) {
    return null;
  }
  return lineSelectionBetweenRows(0, lines.length - 1);
}