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:
Andrew Schwartzmeyer committed 2016-02-22 11:29:03 -08:00
1 parent b143465401
commit 56ed87c108
2 files changed
+12 -13

No files matched your search

+1 -1
View File
@@ -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);
}