Screen.getClipboard

Request the clipboard contents. It may be ignored.

If the terminal is willing, it will post the clipboard contents using a PasteEvent with the clipboard content as the binary. (This may or may not be valid UTF-8. In most terminals it seems that only string data is posted, such as names of files rather than binary file content.)

Terminals may prevent this for security reasons.

interface Screen
@safe
void
getClipboard
()

Meta