Coconut Terminal is a framework for cocoa console application. It supports terminal operation based on curses.