Hacker Newsnew | past | comments | ask | show | jobs | submit | datafl4sh's commentslogin

It is actually ignored. But thanks for the comment, I'll fix the code to at least compile :)


While auto-detection likely would not work in Windows, it seems to be it would be an interface improvement to allow programmatic control over whether output is enabled.

That is, why should `sgr_enabled` return `false` on Windows even if `mode` is set to `ALWAYS_ENABLED`?



The article provides the links to the math you're looking for.


Confirmed from FR


ahahaha I was offline all the day and I didn't notice :) tnx


Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: