pull/195/head
liuzheng712 2016-04-05 12:42:44 +08:00
parent bb7a3ea053
commit ef59cff44b
1 changed files with 1 additions and 1 deletions

View File

@ -364,7 +364,7 @@ class WebTerminalHandler(tornado.websocket.WebSocketHandler):
return
if 'resize' in jsondata.get('data'):
self.termlog.write(jsondata)
self.termlog.write(message)
self.channel.resize_pty(
jsondata.get('data').get('resize').get('cols', 80),
jsondata.get('data').get('resize').get('rows', 24)