Update ptyDriver.py

This commit is contained in:
chrys87
2018-05-30 16:17:38 +02:00
committed by GitHub
parent b35f91e7ff
commit 096614ab3f

View File

@ -160,7 +160,7 @@ class driver(screenDriver):
# output
if self.p_out in r:
try:
msgBytes = self.readAll(self.p_out.fileno(), timeout=1, interruptFd=sys.stdin.fileno())
msgBytes = self.readAll(self.p_out.fileno(), timeout=0.5, interruptFd=sys.stdin.fileno())
except (EOFError, OSError):
active.value = False
break