flush in batch mode

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