The legacy osc 52 protocol now works with the new clipboard requests manager class

This commit is contained in:
Kovid Goyal
2022-11-28 20:53:56 +05:30
parent a8725d6307
commit 3ee9f723f2
4 changed files with 152 additions and 4 deletions

View File

@@ -1280,6 +1280,7 @@ class Window:
def destroy(self) -> None:
self.call_watchers(self.watchers.on_close, {})
self.destroyed = True
self.clipboard_request_manager.close()
del self.kitten_result_processors
if hasattr(self, 'screen'):
if self.is_active and self.os_window_id == current_focused_os_window_id():