Archived
0

Zond: мультистроки дробит на отдельные пакеты

This commit is contained in:
2017-06-14 22:34:08 +03:00
parent 2c44292465
commit 89ba10ebec
2 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,5 @@
group = 'asys'
version = '0.6-SNAPSHOT'
version = '0.6.1-SNAPSHOT'
apply plugin: 'application'

View File

@@ -4,6 +4,7 @@
*/
package asys.zond.shell;
import asys.zond.proxy.Connector;
import jline.console.ConsoleReader;
import java.io.*;
@@ -40,6 +41,10 @@ public class JlineProxySysOut extends PrintStream {
} catch (IOException ignore) {
}
writer.flush();
for (String l : s.split("\n")) {
Connector.getInstance().sendMessage(l);
}
}
/**