Delete is indeed an unprintable character.
This commit is contained in:
parent
3a9c617ff8
commit
b520d61908
1 changed files with 1 additions and 1 deletions
|
@ -766,7 +766,7 @@ SDL_SendKeyboardText(const char *text)
|
||||||
int posted;
|
int posted;
|
||||||
|
|
||||||
/* Don't post text events for unprintable characters */
|
/* Don't post text events for unprintable characters */
|
||||||
if (*text < ' ') {
|
if (*text < ' ' || *text == 127) {
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue