pull/195/head
liuzheng712 2016-04-05 12:50:09 +08:00
parent ef59cff44b
commit b908fdafc6
1 changed files with 2 additions and 2 deletions

View File

@ -366,8 +366,8 @@ class WebTerminalHandler(tornado.websocket.WebSocketHandler):
if 'resize' in jsondata.get('data'):
self.termlog.write(message)
self.channel.resize_pty(
jsondata.get('data').get('resize').get('cols', 80),
jsondata.get('data').get('resize').get('rows', 24)
width=jsondata.get('data').get('resize').get('cols', 80),
height=jsondata.get('data').get('resize').get('rows', 24)
)
elif jsondata.get('data'):
self.termlog.recoder = True