respondClipboardLoad method

void respondClipboardLoad(
  1. String text
)

Answer a pending OSC 52 paste request with text (host reads the system clipboard, then calls this). Encoded reply goes out on output.

Implementation

void respondClipboardLoad(String text) {
  // A load reply can only answer an OSC 52 query the program already emitted,
  // which means the engine has produced output and is therefore bound. Before
  // any binding there is no pending request to satisfy — nothing to do.
  if (_client == null) return;
  _binding!.respondClipboardLoad(text);
  _client!.pumpEventsNow();
}