SDL 1.2: fix input of non-ASCII.
SDL 1.2: fix deletion and Ctrl+key in the in-game console.