onClipboardQuery property
Called when the application requests clipboard contents through OSC 52.
Return null to deny the request. The result may be asynchronous. Unset, the query is not answered; TerminalView sets none, since any output the program prints may ask and the answer goes back to it.
Implementation
FutureOr<String?> Function(String selector)? onClipboardQuery;