Function getClipboard

Wraps SDL_GetClipboardText which gets the text stored in the clipboard

string getClipboard() @trusted;

Returns

clipboard text content

Throws

dsdl2.SDLException if the clipboard text failed to allocate on SDL's side