public string ReadLine() { while (this.Read() != '\n'); return this.History.Last(); }
protected override string ReadCommand() { string command = ""; do { System.Console.Write(mReadBuffer.Prompt); command = mReadBuffer.ReadLine(); }while (string.IsNullOrWhiteSpace(command)); return(command.Trim()); }