Fixed getchar() (care of special key).