Added ncurse support