mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-30 15:33:59 +00:00
fix cygwin/mingw input support
This commit is contained in:
1 parent
857488fffd
commit
aa97bc5df6
1 file changed
+1
-1
@@ -266,7 +266,7 @@ public class TelnetConsole {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (cmds.isEmpty()) {
|
if (cmds.isEmpty()) {
|
||||||
IOUtil.readWrite(telnet.getInputStream(), telnet.getOutputStream(), consoleReader.getInput(),
|
IOUtil.readWrite(telnet.getInputStream(), telnet.getOutputStream(), System.in,
|
||||||
consoleReader.getOutput());
|
consoleReader.getOutput());
|
||||||
} else {
|
} else {
|
||||||
batchModeRun(telnet, cmds);
|
batchModeRun(telnet, cmds);
|
||||||
|
|||||||
Reference in new issue
Block a user