private void ProcessClear(string[] command) { if (command.Length > 1) { if (command[1] == "history") { _commandPrompt.ClearCommandHistory(); } else { WriteToConsole( new ConsoleWriteLineEventArgs("Command argument [" + command[1] + "] not recognized: \r" + GetCommandEntry(command[0]))); } } else { _commandPrompt.ClearConsole(); } }