mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-22 02:42:22 +03:00
fix(console): keep SSH web console open after terminal resize
This commit is contained in:
parent
f051bf2505
commit
51f7d06fae
@ -117,7 +117,11 @@ class AsyncioSSHServer:
|
|||||||
|
|
||||||
try:
|
try:
|
||||||
while True:
|
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:
|
if not data:
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user