Skip to content

Commit 848c143

Browse files
springcompMaxime LABELLE
authored and
Maxime LABELLE
committed
Restore formatting to unchanged code.
1 parent ae0fa3d commit 848c143

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

PSReadLine/ReadLine.cs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -486,12 +486,10 @@ bool IsValid(ConsoleColor color)
486486
return color >= ConsoleColor.Black && color <= ConsoleColor.White;
487487
}
488488

489-
if (IsValid(_singleton._initialForeground))
490-
{
489+
if (IsValid(_singleton._initialForeground)) {
491490
console.ForegroundColor = _singleton._initialForeground;
492491
}
493-
if (IsValid(_singleton._initialBackground))
494-
{
492+
if (IsValid(_singleton._initialBackground)) {
495493
console.BackgroundColor = _singleton._initialBackground;
496494
}
497495
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))

0 commit comments

Comments
 (0)