This would be nice - especially if there was a way to do it in a portable way. Possibly use libportable (add a functionality to it to test if STDOUT is a terminal)
Ok, libportable is stupid, I'll just use isatty. It's actually rather infuriating that POSIX uses isatty from unistd.h and Windows uses _isatty from io.h.
This would be nice - especially if there was a way to do it in a portable way. Possibly use libportable (add a functionality to it to test if STDOUT is a terminal)