Initial support for curses input