diff --git a/test/Microsoft.NET.TestFramework/Utilities/TerminalLoggerStringExtensions.cs b/test/Microsoft.NET.TestFramework/Utilities/TerminalLoggerStringExtensions.cs index f14b109155f9..2c28bde412ce 100644 --- a/test/Microsoft.NET.TestFramework/Utilities/TerminalLoggerStringExtensions.cs +++ b/test/Microsoft.NET.TestFramework/Utilities/TerminalLoggerStringExtensions.cs @@ -12,6 +12,8 @@ public static string StripTerminalLoggerProgressIndicators(this string stdout) { return stdout .Replace("\x1b]9;4;3;\x1b\\", "") // indeterminate progress start - .Replace("\x1b]9;4;0;\x1b\\", ""); // indeterminate progress end + .Replace("\x1b]9;4;0;\x1b\\", "") // indeterminate progress end + .Replace("\x1b[?25l", "") // make cursor invisble + .Replace("\x1b[?25h", ""); // make cursor visible } -} \ No newline at end of file +}