mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-08 14:18:26 +02: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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user