setText

abstract fun setText(text: String)

Copies text to the clipboard, using the OSC 52 escape sequence once the next frame is rendered. Terminals may ignore it, or ask the user for permission first.