delete ncurses, write in pure-vala