mirror of
https://github.com/xcat2/confluent.git
synced 2024-11-29 04:50:21 +00:00
Fix confluentdbgcli on screen resize
This commit is contained in:
parent
0d06eedc81
commit
3ae7d85820
@ -61,7 +61,10 @@ class GetInput(threading.Thread):
|
||||
inputthread = GetInput()
|
||||
inputthread.start()
|
||||
while True:
|
||||
r, _, _ = select.select((conn,), (), (), 0.1)
|
||||
try:
|
||||
r, _, _ = select.select((conn,), (), (), 0.1)
|
||||
except select.error:
|
||||
continue
|
||||
if conn in r:
|
||||
sys.stdout.write(conn.recv(1))
|
||||
if pendingoutput is not None:
|
||||
|
Loading…
Reference in New Issue
Block a user