Procs
proc getClipboardText(): string {....raises: [], tags: [], forbids: [].}
- Reads Unicode text from the clipboard. Returns the text as a Nim string, or an empty string if no text is available.
proc setClipboardText(text: string): bool {....raises: [], tags: [], forbids: [].}
- Copies the given Unicode text to the clipboard. Returns true if successful, false otherwise.