mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-06-09 17:41:36 +00:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue