fix KEY_ASCII, thanks to Pieter and Anders