ncurses interface for interactive mode