shell.out().print(Config.getLineSeparator());
}
private void readFromStdin(CommandInvocation commandInvocation) {
try {
CommandOperation input = commandInvocation.getInput();
StringBuilder builder = new StringBuilder();
while(input.getInputKey() != Key.CTRL_C) {
if(input.getInputKey() == Key.ENTER) {
commandInvocation.getShell().out().println();
displayLine(builder.toString(), commandInvocation.getShell());
builder = new StringBuilder();
}
else {
builder.append(input.getInputKey().getAsChar());
commandInvocation.getShell().out().print(input.getInputKey().getAsChar());
}
input = commandInvocation.getInput();
}