Function Platform.getClipboardText

retrieves text from clipboard (when mouseBuffer == true, use mouse selection clipboard - under linux)

abstract dstring getClipboardText(
  bool mouseBuffer = false
);