mirror of
https://github.com/OpenMW/openmw.git
synced 2025-01-16 16:29:55 +00:00
1930bfeabb
First try the modern Windowsy way, where we can directly query if escape sequences will be processed. The function is available as far back as Windows 2000, but it just won't return the right flag until the Windows version is new enough. If that fails, fall back to the Unixy way, as not all colour-supporting terminal emulators for Windows use the Win32 API to declare that capability. The implementation isn't identical as isatty wasn't available without adding more headers, and we already have Windows.h in this file, so I might as well use the Win32 API instead of its POSIX-compatibility layer. |
||
---|---|---|
.. | ||
debugdraw.cpp | ||
debugdraw.hpp | ||
debugging.cpp | ||
debugging.hpp | ||
debuglog.cpp | ||
debuglog.hpp | ||
gldebug.cpp | ||
gldebug.hpp | ||
writeflags.hpp |