2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-25 11:01:09 +00:00

Fix confluentdbgcli on screen resize

This commit is contained in:
Jarrod Johnson 2018-03-01 13:39:25 -05:00
parent 0d06eedc81
commit 3ae7d85820

View File

@ -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: