Isatty detection on Windows
pravic opened this issue · comments
pravic commented
David Peter commented
I don't understand? This is a C++ library.
pravic commented
Sorry for the confusion.
I was talking about Windows support: GetConsoleMode
(and a workaround for msys via GetFileInformationByHandleEx
).
David Peter commented
Ok, so you are just asking for a proper isatty
check on Windows, right? (to disabled colors if necessary)
I hope it is possible to put all the necessary code into this header-only library. It should go here:
Lines 79 to 81 in 57e71b8
David Peter commented
see #99