Skip to content

Commit 03ce44d

Browse files
committed
Restore formatting to unchanged code.
1 parent 81433aa commit 03ce44d

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

PSReadLine/ReadLine.cs

+2-4
Original file line numberDiff line numberDiff line change
@@ -460,12 +460,10 @@ bool IsValid(ConsoleColor color)
460460
return color >= ConsoleColor.Black && color <= ConsoleColor.White;
461461
}
462462

463-
if (IsValid(_singleton._initialForeground))
464-
{
463+
if (IsValid(_singleton._initialForeground)) {
465464
console.ForegroundColor = _singleton._initialForeground;
466465
}
467-
if (IsValid(_singleton._initialBackground))
468-
{
466+
if (IsValid(_singleton._initialBackground)) {
469467
console.BackgroundColor = _singleton._initialBackground;
470468
}
471469
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))

0 commit comments

Comments
 (0)