# HG changeset patch # User reimar # Date 1322766560 0 # Node ID 6edabf4151e9d89b6a88d8fc6ac6d414f85f3b69 # Parent 52d927f2b563dd2be9c73e288342138ac90116fe Only print printable characters, not all ASCII ones. Non-printable ASCII characters like ESC will instead be printed as hex now. diff -r 52d927f2b563 -r 6edabf4151e9 input/input.c --- a/input/input.c Thu Dec 01 18:34:18 2011 +0000 +++ b/input/input.c Thu Dec 01 19:09:20 2011 +0000 @@ -1456,7 +1456,7 @@ return key_names[i].name; } - if(isascii(key)) { + if(isprint(key)) { snprintf(key_str,12,"%c",(char)key); return key_str; }