executorService.shutdown();
running = false;
//consoleCallback.readConsoleOutput(null);
return;
}
Operation operation = editMode.parseInput(in, buffer.getLine());
operation.setInput(in);
String result = null;
//if we have a command hooked in the input goes there
if(command != null)
command.processOperation(operation);
//the input is parsed by æsh
else
result = parseOperation(operation, buffer.getPrompt().getMask());
if(operation.equals(Operation.NEW_LINE) && buffer.isMultiLine())
result = buffer.getMultiLineBuffer() + result;
if(result != null) {
// if the line ends with: \ we create a new line
if(!buffer.getPrompt().isMasking() && endsWithBackslashPattern.matcher(result).find()) {