Fix curses console input.