mirror of https://github.com/jumpserver/jumpserver
test
parent
1ac9bebb8d
commit
bdf6d97478
|
@ -384,6 +384,9 @@ class SshTty(Tty):
|
||||||
if self.channel in r:
|
if self.channel in r:
|
||||||
try:
|
try:
|
||||||
x = self.channel.recv(10240)
|
x = self.channel.recv(10240)
|
||||||
|
print x
|
||||||
|
print '===='
|
||||||
|
print len(x)
|
||||||
if len(x) == 0:
|
if len(x) == 0:
|
||||||
break
|
break
|
||||||
if self.vim_flag:
|
if self.vim_flag:
|
||||||
|
|
Loading…
Reference in New Issue