diff --git a/desktop_version/src/KeyPoll.cpp b/desktop_version/src/KeyPoll.cpp index 9dfdcb21..34775b48 100644 --- a/desktop_version/src/KeyPoll.cpp +++ b/desktop_version/src/KeyPoll.cpp @@ -196,6 +196,14 @@ void KeyPoll::Poll(void) VVV_free(text); } } + else if ( evt.key.keysym.sym == SDLK_x && + keymap[SDLK_LCTRL] ) + { + if (SDL_SetClipboardText(keybuffer.c_str()) == 0) + { + keybuffer = ""; + } + } } break; }