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(); }
public static void WriteCt() { if(_lastEvent != EnConsoleEvent.ComText) { //Console.ForegroundColor = CommandTextColor; Console.Out.Write(CommandText); _lastEvent = EnConsoleEvent.ComText; //Console.ForegroundColor = ConsoleReader.InputColor; } }