More color fixes: background colors set appropriately, and fix the

silly window-shrinking bug. (Cause unknown.)
This commit is contained in:
John Doty 2012-04-05 18:45:12 -07:00
parent c23c4f7f20
commit a68b177143
2 changed files with 98 additions and 65 deletions

View file

@ -33,9 +33,9 @@ function prompt
# solarized colors.
#
$cdelim = [ConsoleColor]::DarkCyan
$chost = [ConsoleColor]::Green
$cloc = $csym = [ConsoleColor]::Cyan
if (-not $ok) { $csym = [ConsoleColor]::Red; }
$chost = [ConsoleColor]::DarkGreen
$cloc = $csym = [ConsoleColor]::DarkCyan
if (-not $ok) { $csym = [ConsoleColor]::DarkRed; }
write-host "$([char]0x0A7) " -n -f $csym
write-host ([net.dns]::GetHostName()) -n -f $chost