mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Respect Console.BackGround color
This was bugging me. Instead of using the existing console's background color, we were hard-coding "Black." Now we just leave it alone.
This commit is contained in:
1 parent
b143465401
commit
56ed87c108
2 files changed
+12
-13
No files matched your search
@@ -518,7 +518,7 @@ OPTIONS
|
||||
prompt = "PS> ";
|
||||
}
|
||||
|
||||
this.myHost.UI.Write(ConsoleColor.White, ConsoleColor.Black, prompt);
|
||||
this.myHost.UI.Write(ConsoleColor.White, Console.BackgroundColor, prompt);
|
||||
string cmd = consoleReadLine.Read(this.myHost.Runspace);
|
||||
this.Execute(cmd);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user