Remove ncurses dependency