We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 81433aa commit 03ce44dCopy full SHA for 03ce44d
PSReadLine/ReadLine.cs
@@ -460,12 +460,10 @@ bool IsValid(ConsoleColor color)
460
return color >= ConsoleColor.Black && color <= ConsoleColor.White;
461
}
462
463
- if (IsValid(_singleton._initialForeground))
464
- {
+ if (IsValid(_singleton._initialForeground)) {
465
console.ForegroundColor = _singleton._initialForeground;
466
467
- if (IsValid(_singleton._initialBackground))
468
+ if (IsValid(_singleton._initialBackground)) {
469
console.BackgroundColor = _singleton._initialBackground;
470
471
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
0 commit comments