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