Added support for NO_COLOR environment variable

This commit is contained in:
Bob Polis
2023-08-08 15:57:34 +02:00
parent 969984213d
commit 4a3e59159e
2 changed files with 40 additions and 31 deletions

View File

@ -5,6 +5,7 @@
namespace sc {
namespace io {
bool should_color(const std::ostream& out);
bool isatty_ostream(const std::ostream& out);
std::ostream& hide_cursor(std::ostream& out);