top | item 11645246

(no title)

ryhanson | 9 years ago

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.

discuss

order

cweiss|9 years ago

brew install no-more-secrets

Works.

ryhanson|9 years ago

Sweet, thanks! I'm not sure why I didn't think to try that. Worked for me!

secfirstmd|9 years ago

Maybe added that to their github?

kazinator|9 years ago

This could be done with a single VT100 escape: print multi-line junk, move the cursor back, print less junky junk, repeat.

(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

If you have a better implementation, ship it. Don't trash someone else's work from the sidelines.

edit: OP removed the snark from the comment.