Hacker News new | past | comments | ask | show | jobs | submit login

This is great! Does it know ahead of time if we have colors before sending the response?



No, unless it's getting info from somewhere I'm not thinking of, it has no way of knowing what terminal you're using. In principle, I think the "accept" header is the right place to put that info?


`T` or `no-terminal=True` in the querystring will disable ANSI color codes in the response.




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

Search: