Nice, that looks like the ncurses/terminal UI code I remember. :)