add things
git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@409 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
parent
266c2f5a16
commit
aae0f1818b
2 changed files with 12 additions and 0 deletions
|
|
@ -100,6 +100,8 @@ static void key(MwWidget handle, int code) {
|
|||
} else if(code == MwLLKeyRight) {
|
||||
if(t->cursor == MwUTF8Length(str)) return;
|
||||
t->cursor++;
|
||||
} else if(code == MwLLKeyEnter) {
|
||||
MwDispatchUserHandler(handle, MwNactivateHandler, NULL);
|
||||
} else if(!(code & MwLLKeyMask)) {
|
||||
int incr = 0;
|
||||
out = malloc(strlen(str) + 5 + 1);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue