Put UTF-8 text into the clipboard.
Defined in <SDL3/SDL_clipboard.h>
bool SDL_SetClipboardText(const char *text);
const char * | text | the text to store in the clipboard. |
(bool) Returns true on success or false on failure; call SDL_GetError() for more information.
You may only call this function from the main thread.
This function is available since SDL 3.1.3.