mirror of
https://github.com/alibaba/arthas.git
synced 2026-11-30 07:32:57 +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()) {
|
||||
IOUtil.readWrite(telnet.getInputStream(), telnet.getOutputStream(), consoleReader.getInput(),
|
||||
IOUtil.readWrite(telnet.getInputStream(), telnet.getOutputStream(), System.in,
|
||||
consoleReader.getOutput());
|
||||
} else {
|
||||
batchModeRun(telnet, cmds);
|
||||
|
||||
Reference in new issue
Block a user