aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Ridgers <[email protected]>2021-11-01 11:10:06 +0100
committerMartin Ridgers <[email protected]>2021-11-01 11:10:06 +0100
commit873d11171ffee5f609fa59b4132400f9b43172d1 (patch)
treef7c080f9e12ed2675077045b50e88f58e13af24b
parentCacheBucket is going to get defined else where in an upcoming merge (diff)
downloadzen-873d11171ffee5f609fa59b4132400f9b43172d1.tar.xz
zen-873d11171ffee5f609fa59b4132400f9b43172d1.zip
Everywhere else has had VT100 support since 1978
-rw-r--r--zenserver/diag/logging.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/zenserver/diag/logging.cpp b/zenserver/diag/logging.cpp
index 6e2559f1f..0f125cc51 100644
--- a/zenserver/diag/logging.cpp
+++ b/zenserver/diag/logging.cpp
@@ -168,6 +168,7 @@ private:
bool
EnableVTMode()
{
+#if ZEN_PLATFORM_WINDOWS
// Set output mode to handle virtual terminal sequences
HANDLE hOut = GetStdHandle(STD_OUTPUT_HANDLE);
if (hOut == INVALID_HANDLE_VALUE)
@@ -186,6 +187,7 @@ EnableVTMode()
{
return false;
}
+#endif
return true;
}