Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

isatty and checking for TERM=dumb are sensible (as well as flags to enable/disable colors). Terminfo however is a meh depencency and since common tools (e.g. git) don't bother either there is no point in anything beyond that.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: