Remove keycodes from console input