示例#1
0
 public static void WriteLine(String st, Boolean writeComText)
 {
     if(_lastEvent == EnConsoleEvent.ComText)
         Console.Out.WriteLine();
     Console.Out.WriteLine(st);
     _lastEvent = EnConsoleEvent.Wrote;
     if(writeComText)
         WriteCt();
 }
示例#2
0
 public static void WriteCt()
 {
     if(_lastEvent != EnConsoleEvent.ComText)
     {
         //Console.ForegroundColor = CommandTextColor;
         Console.Out.Write(CommandText);
         _lastEvent = EnConsoleEvent.ComText;
         //Console.ForegroundColor = ConsoleReader.InputColor;
     }
 }