Terminal calculator using ncurses.