An ncurses wrapper