simple ncurses interface