ncurses is required for readline