We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ae0fa3d commit 848c143Copy full SHA for 848c143
PSReadLine/ReadLine.cs
@@ -486,12 +486,10 @@ bool IsValid(ConsoleColor color)
486
return color >= ConsoleColor.Black && color <= ConsoleColor.White;
487
}
488
489
- if (IsValid(_singleton._initialForeground))
490
- {
+ if (IsValid(_singleton._initialForeground)) {
491
console.ForegroundColor = _singleton._initialForeground;
492
493
- if (IsValid(_singleton._initialBackground))
494
+ if (IsValid(_singleton._initialBackground)) {
495
console.BackgroundColor = _singleton._initialBackground;
496
497
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
0 commit comments