diff --git a/src/SharpIDE.Application/Features/Run/RunService.cs b/src/SharpIDE.Application/Features/Run/RunService.cs index 2cff7ad..4d9a39b 100644 --- a/src/SharpIDE.Application/Features/Run/RunService.cs +++ b/src/SharpIDE.Application/Features/Run/RunService.cs @@ -40,6 +40,8 @@ public class RunService RedirectStandardError = true, EnvironmentVariables = [] }; + processStartInfo.EnvironmentVariables["DOTNET_SYSTEM_CONSOLE_ALLOW_ANSI_COLOR_REDIRECTION"] = "1"; + // processStartInfo.EnvironmentVariables["TERM"] = "xterm"; // may be necessary on linux/macOS if (launchProfile is not null) { foreach (var envVar in launchProfile.EnvironmentVariables)