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

You could detect if stdout is a terminal and then decide for fanciness or machine readability. I think this, along with flags for manually setting rich features, would provide the best of both worlds.


Ahh didn’t know that was a thing. Thanks for setting me straight.




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

Search: