Fix pasting large amounts of text very slow.
Fixes #682 Apparently when refactoring child.py I somehow lost the code to make the child fd non-blocking.
This commit is contained in:
parent
5362d1a7a6
commit
d689c21283
@ -83,6 +83,7 @@ class Child:
|
||||
if stdin is not None:
|
||||
os.close(stdin_read_fd)
|
||||
fast_data_types.thread_write(stdin_write_fd, stdin)
|
||||
fcntl.fcntl(self.child_fd, fcntl.F_SETFL, fcntl.fcntl(self.child_fd, fcntl.F_GETFL) | os.O_NONBLOCK)
|
||||
return pid
|
||||
|
||||
@property
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user