mirror of
https://gitlab.com/crafty-controller/crafty-4.git
synced 2024-08-30 18:23:09 +00:00
Merge branch 'dev' of https://gitlab.com/crafty-controller/crafty-commander into dev
This commit is contained in:
commit
cef282ca91
@ -71,7 +71,7 @@ class ServerOutBuf:
|
|||||||
# TODO: we may want to benchmark reading in blocks and userspace processing it later, reads are kind of expensive as a syscall
|
# TODO: we may want to benchmark reading in blocks and userspace processing it later, reads are kind of expensive as a syscall
|
||||||
self.process_byte(char)
|
self.process_byte(char)
|
||||||
else:
|
else:
|
||||||
flush = self.proc.stdout.readall().decode('utf-8')
|
flush = self.proc.stdout.read().decode('utf-8')
|
||||||
for char in flush:
|
for char in flush:
|
||||||
self.process_byte(char)
|
self.process_byte(char)
|
||||||
break
|
break
|
||||||
|
Loading…
Reference in New Issue
Block a user