ncurses interactivity working