Delete is indeed an unprintable character.
authorSam Lantinga <slouken@libsdl.org>
Wed, 21 Jul 2010 00:00:05 -0700
changeset 4562 dc9d77a26388
parent 4561 e4b2b7207f79
child 4563 ffd169948438
Delete is indeed an unprintable character.
src/events/SDL_keyboard.c
--- a/src/events/SDL_keyboard.c	Tue Jul 20 23:59:16 2010 -0700
+++ b/src/events/SDL_keyboard.c	Wed Jul 21 00:00:05 2010 -0700
@@ -766,7 +766,7 @@
     int posted;
 
     /* Don't post text events for unprintable characters */
-    if (*text < ' ') {
+    if (*text < ' ' || *text == 127) {
         return 0;
     }