5 ms·
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
by ryhanson 10y 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.
- secfirstmd 10y agoMaybe added that to their github?
- kazinator 10y agoThis 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 10y agoIf 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.
- cweiss 10y agobrew install no-more-secrets Works.
- ryhanson 10y agoSweet, thanks! I'm not sure why I didn't think to try that. Worked for me!