This commit is contained in:
parent
d3eb93a30a
commit
47ba1a9b50
6 changed files with 44 additions and 15 deletions
|
|
@ -113,9 +113,9 @@ static void key(MwWidget handle, int code) {
|
|||
t->cursor++;
|
||||
} else if(code == MwKEY_ENTER) {
|
||||
MwDispatchUserHandler(handle, MwNactivateHandler, NULL);
|
||||
} else if(code == (MwKEY_CONTROL_MASK | 'v')) {
|
||||
} else if(code == (MwKEY_CONTROL_FLAG | 'v')) {
|
||||
MwLLGetClipboard(handle->lowlevel, MwCLIPBOARD_MAIN);
|
||||
} else if(!(code & MwKEY_MASK)) {
|
||||
} else if(!(code & MwKEY_FLAG)) {
|
||||
int incr = 0;
|
||||
out = malloc(strlen(str) + 5 + 1);
|
||||
incr += MwUTF8Copy(str, 0, out, 0, t->cursor);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue