From 78b41ecde4aa735f09252673fa40e7a79793d0a5 Mon Sep 17 00:00:00 2001 From: Greelan <53196309+Greelan@users.noreply.github.com> Date: Thu, 16 Oct 2025 11:17:57 +1100 Subject: [PATCH] Allow bypass of SetConsoleOutputMode function --- SPTarkov.Server/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SPTarkov.Server/Program.cs b/SPTarkov.Server/Program.cs index c7a991c7..30f76f55 100644 --- a/SPTarkov.Server/Program.cs +++ b/SPTarkov.Server/Program.cs @@ -234,7 +234,7 @@ public static class Program private static void SetConsoleOutputMode() { - if (!OperatingSystem.IsWindows()) + if (!OperatingSystem.IsWindows() || Environment.GetEnvironmentVariable("DISABLE_VIRTUAL_TERMINAL") == "1") { return; }