Put UTF-8 text into the primary selection.
Defined in <SDL3/SDL_clipboard.h>
bool SDL_SetPrimarySelectionText(const char *text);
const char * | text | the text to store in the primary selection. |
(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.