mirror of
https://github.com/kovidgoyal/kitty
synced 2026-07-26 10:12:17 +02:00
clipboard kitten: fix copies to clipboard not working without the --wait-for-completion option
This commit is contained in:
@@ -107,6 +107,9 @@ class Handler:
|
||||
def on_eot(self) -> None:
|
||||
pass
|
||||
|
||||
def on_writing_finished(self) -> None:
|
||||
pass
|
||||
|
||||
def on_kitty_cmd_response(self, response: Dict) -> None:
|
||||
pass
|
||||
|
||||
|
||||
@@ -343,6 +343,7 @@ class Loop:
|
||||
self.write_buf: List[bytes] = []
|
||||
self.asycio_loop.remove_writer(fd)
|
||||
self.waiting_for_writes = False
|
||||
handler.on_writing_finished()
|
||||
else:
|
||||
consumed = 0
|
||||
for i, buf in enumerate(self.write_buf):
|
||||
|
||||
Reference in New Issue
Block a user