mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
fix(console): keep SSH web console open after terminal resize
This commit is contained in:
1 parent
f051bf2505
commit
51f7d06fae
1 file changed
+5
-1
@@ -117,7 +117,11 @@ class AsyncioSSHServer:
|
||||
|
||||
try:
|
||||
while True:
|
||||
data = await process.stdin.read(READ_SIZE)
|
||||
try:
|
||||
data = await process.stdin.read(READ_SIZE)
|
||||
except asyncssh.TerminalSizeChanged:
|
||||
# The upstream serial stream has no terminal size to update.
|
||||
continue
|
||||
if not data:
|
||||
break
|
||||
|
||||
|
||||
Reference in new issue
Block a user