3 ms·
You could probably write raw ANSI escape sequences -- they're essentially universal by this point. http://en.wikipedia.org/wiki/ANSI_escape_code http://en.wikip
by Scaevolus 12y ago
You could probably write raw ANSI escape sequences -- they're essentially universal by this point. http://en.wikipedia.org/wiki/ANSI_escape_code http://en.wikipedia.org/wiki/ANSI_escape_code
ncurses is overkill nowadays when everything is a (VT100) emulator.
- shazow 12y agoYup, that's how most of these curses libraries work. It's a lot of work doing layout with straight up escape sequences, though.
- Scaevolus 12y agoCompatibility is most of the complexity: http://invisible-island.net/ncurses/terminfo.ti.html http://invisible-island.net/ncurses/terminfo.ti.html
- qcoh 12y agoHere's [0] a small IRC client that uses escape sequences for its UI if you want to look at it. Not mine. [0] https://github.com/rcr/rirc https://github.com/rcr/rirc