Skip to content

Commit 225a18f

Browse files
committed
Fix white color after help
1 parent a866723 commit 225a18f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Cli/dotnet/commands/dotnet-test/TestingPlatformCommand.Help.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ public IEnumerable<Action<HelpContext>> CustomHelpLayout()
1616
{
1717
yield return (context) =>
1818
{
19+
var originalOutputColor = Console.ForegroundColor;
1920
Console.WriteLine("Waiting for options and extensions...");
2021

2122
Run(context.ParseResult);
@@ -34,7 +35,7 @@ public IEnumerable<Action<HelpContext>> CustomHelpLayout()
3435
WriteModulesToMissingOptionsToConsole(moduleToMissingOptions);
3536

3637
Console.WriteLine();
37-
Console.ForegroundColor = ConsoleColor.White;
38+
Console.ForegroundColor = originalOutputColor;
3839
};
3940
}
4041

0 commit comments

Comments
 (0)