waitForBufferValue(new Callable<String>()
{
@Override
public String call() throws Exception
{
AeshConsoleImpl console = (AeshConsoleImpl) shell.getConsole();
console.getInputProcessor().resetBuffer();
provider.getStdOut().reset();
provider.getStdErr().reset();
return null;
}
}, "", 10, TimeUnit.SECONDS);