public int readConsoleOutput(ConsoleOutput output) throws IOException{
//To change body of implemented methods use File | Settings | File Templates.
exampleConsole.pushToStdOut("======>\"" + output.getBuffer() + "\"\n");
if(masking) {
exampleConsole.pushToStdOut("got password: "+output.getBuffer()+", stopping masking");
masking = false;
exampleConsole.setPrompt(prompt);
}
else if (output.getBuffer().equalsIgnoreCase("quit") || output.getBuffer().equalsIgnoreCase("exit") ||
output.getBuffer().equalsIgnoreCase("reset")) {