mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-07-07 03:49:00 +00:00
bugfix
This commit is contained in:
parent
7f4d3ffdbc
commit
c76d9ebd88
@ -366,8 +366,8 @@ class WebTerminalHandler(tornado.websocket.WebSocketHandler):
|
|||||||
if 'resize' in jsondata.get('data'):
|
if 'resize' in jsondata.get('data'):
|
||||||
self.termlog.write(message)
|
self.termlog.write(message)
|
||||||
self.channel.resize_pty(
|
self.channel.resize_pty(
|
||||||
width=jsondata.get('data').get('resize').get('cols', 80),
|
width=int(jsondata.get('data').get('resize').get('cols', 80)),
|
||||||
height=jsondata.get('data').get('resize').get('rows', 24)
|
height=int(jsondata.get('data').get('resize').get('rows', 24))
|
||||||
)
|
)
|
||||||
elif jsondata.get('data'):
|
elif jsondata.get('data'):
|
||||||
self.termlog.recoder = True
|
self.termlog.recoder = True
|
||||||
|
Loading…
Reference in New Issue
Block a user