mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-05 02:35:29 +02:00
TextEdit: Ctrl-C to copy the contents of the textbox.
This commit is contained in:
1 parent
6f6f6eb1fb
commit
9d8d64b321
1 file changed
+4
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user