flush in batch mode

This commit is contained in:
hengyunabc
2018-11-08 19:32:10 +08:00
parent e8225f1cbc
commit 561d3350a6
@@ -294,6 +294,7 @@ public class TelnetConsole {
// read result from server and output
String response = readUntil(inputStream, PROMPT);
System.out.print(response);
System.out.flush();
}
}