mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-01-28 17:00:15 +00:00
TextEdit: Ctrl-C to copy the contents of the textbox.
This commit is contained in:
parent
6f6f6eb1fb
commit
9d8d64b321
@ -659,6 +659,10 @@ void TextEdit::Key(const KeyInput &input) {
|
||||
|
||||
if (ctrlDown_) {
|
||||
switch (input.keyCode) {
|
||||
case NKCODE_C:
|
||||
// Just copy the entire text contents, until we get selection support.
|
||||
System_SendMessage("setclipboardtext", text_.c_str());
|
||||
break;
|
||||
case NKCODE_V:
|
||||
{
|
||||
std::string clipText = System_GetProperty(SYSPROP_CLIPBOARD_TEXT);
|
||||
|
Loading…
x
Reference in New Issue
Block a user