copySelection method

Future<bool> copySelection()

Copies the current terminal selection to the system clipboard.

Implementation

Future<bool> copySelection() =>
    _copySelection?.call() ?? Future<bool>.value(false);