Initialize ncurses.