Or you could write for ncurses, and use an implementation of ncurses on Windows, such as PDCurses. (One of many, google "windows ncurses" for more...)