Skip to content

Commit

Permalink
command record bug need to be fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmy201602 committed Jun 30, 2018
1 parent 97923be commit b6fd395
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webterminal/interactive.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def posix_shell(chan,channel,log_name=None,width=90,height=40,elementid=None):
else:
if vim_flag:
vim_data += x
#print('raw data',command)
# print('raw data',command)
if '\r\n' not in x:
command.append(x)
else:
Expand Down Expand Up @@ -202,6 +202,7 @@ def run(self):
self.chan.resize_pty(width=data[3], height=data[4])
break
elif data[0] in ['stdin','stdout']:
#print(data)
self.chan.send(data[1])

elif isinstance(data,(int,long)):
Expand Down

0 comments on commit b6fd395

Please sign in to comment.