Assume White as a console color just means "default", and don't use it.

This helps reduce confusion for linux people that have white background
terminals.
afrisby
Sean Dague 2007-08-01 20:06:40 +00:00
parent c805b8827a
commit 2333de33f1
1 changed files with 3 additions and 1 deletions

View File

@ -244,7 +244,9 @@ namespace OpenSim.Framework.Console
{
try
{
System.Console.ForegroundColor = color;
if (color != ConsoleColor.White)
System.Console.ForegroundColor = color;
System.Console.WriteLine(format, args);
System.Console.ResetColor();
}