mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-12-25 13:32:36 +00:00
手动修改窗口大小问题
This commit is contained in:
@@ -362,6 +362,7 @@ class WebTerminalHandler(tornado.websocket.WebSocketHandler):
|
||||
return
|
||||
|
||||
if 'resize' in jsondata.get('data'):
|
||||
self.termlog.write(jsondata)
|
||||
self.channel.resize_pty(
|
||||
jsondata.get('data').get('resize').get('cols', 80),
|
||||
jsondata.get('data').get('resize').get('rows', 24)
|
||||
|
||||
Reference in New Issue
Block a user