Preliminary support for ncurses