git-svn-id: http://svn2.nishi.boats/svn/milsko/trunk@402 b9cfdab3-6d41-4d17-bbe4-086880011989
This commit is contained in:
NishiOwO
2025-10-17 19:20:03 +00:00
parent 15e604f711
commit f9b061aac8
2 changed files with 3 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ static void key(MwWidget handle, int code) {
} else if(code == MwLLKeyRight) {
if(t->cursor == MwUTF8Length(str)) return;
t->cursor++;
} else {
} else if(!(code & MwLLKeyMask)) {
int incr = 0;
out = malloc(strlen(str) + 5 + 1);
incr += MwUTF8Copy(str, 0, out, 0, t->cursor);