For the people who want to try this on OS X run `locate ncurses.h` to see if you have the ncurses library. If you have Xcode installed, you should have it in a few places. Then update the Makefile, set `NCURSES_H = {dir}` and it should make and install just fine.
cweiss|9 years ago
Works.
ryhanson|9 years ago
secfirstmd|9 years ago
kazinator|9 years ago
(Even with some optimization: for any line that is not changing any more, just emit a CR-LF).
You don't even need to put the TTY into raw mode; no termios calls needed, and \n is your CR-LF.
_pius|9 years ago
edit: OP removed the snark from the comment.