Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
justaguy88
on Nov 17, 2020
|
parent
|
context
|
favorite
| on:
Brow.sh: a modern text-based browser
This is great! Does it know ahead of time if we have colors before sending the response?
dllthomas
on Nov 17, 2020
[–]
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?
Arnavion
on Nov 18, 2020
|
parent
[–]
`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: