Re:Yet another C++ header-only stream coloring library
by datafl4sh on Thursday August 26, 2021 @10:34AM
(#28315473)
It is actually ignored. But thanks for the comment, I'll fix the code to at least compile :)
[ Parent
| on HN ]
Re:Yet another C++ header-only stream coloring library
by nanis on Thursday August 26, 2021 @11:12AM
(#28315963)
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`?