Yet another C++ header-only stream coloring library(github.com)
github.com
Yet another C++ header-only stream coloring library
https://github.com/datafl4sh/sgr
3 comments
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`?
That is, why should `sgr_enabled` return `false` on Windows even if `mode` is set to `ALWAYS_ENABLED`?
[1]: https://github.com/datafl4sh/sgr/blob/2d33bb702437fdf288defa...