Skip to content

Commit 99271d1

Browse files
authored
Remove additional TL characters from the dotnet run output special casing for tests (#44442)
2 parents 316356f + fc71602 commit 99271d1

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/Microsoft.NET.TestFramework/Utilities/TerminalLoggerStringExtensions.cs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ public static string StripTerminalLoggerProgressIndicators(this string stdout)
1212
{
1313
return stdout
1414
.Replace("\x1b]9;4;3;\x1b\\", "") // indeterminate progress start
15-
.Replace("\x1b]9;4;0;\x1b\\", ""); // indeterminate progress end
15+
.Replace("\x1b]9;4;0;\x1b\\", "") // indeterminate progress end
16+
.Replace("\x1b[?25l", "") // make cursor invisble
17+
.Replace("\x1b[?25h", ""); // make cursor visible
1618
}
17-
}
19+
}

0 commit comments

Comments
 (0)