exampleConsole.clear();
else if(output.getBuffer().startsWith("man")) {
//exampleConsole.attachProcess(test);
//man = new ExampleConsoleCommand(exampleConsole, output);
exampleConsole.getShell().out().println("trying to wait for input");
CommandOperation co = null;
try {
co = getInput();
}
catch (InterruptedException e) {
e.printStackTrace();
return -1;
}
exampleConsole.getShell().out().println("got: " + co.toString());
//exampleConsole.attachProcess(test);
}
else if(output.getBuffer().startsWith("login")) {
exampleConsole.setConsoleCallback(passwordCallback);
exampleConsole.setPrompt(new Prompt("Username: "));