Added basic ncurses support