mirror of
https://github.com/kovidgoyal/kitty.git
synced 2026-11-20 15:12:37 +00:00
Stop scroll animations when closing a window
This commit is contained in:
parent
8ca3cc0d30
commit
3142901159
1 changed files with 1 additions and 0 deletions
|
|
@ -2120,6 +2120,7 @@ class Window:
|
|||
self.clipboard_request_manager.close()
|
||||
del self.kitten_result_processors
|
||||
if hasattr(self, 'screen'):
|
||||
self.finish_scroll_animation()
|
||||
if self.is_active and self.os_window_id == current_focused_os_window_id():
|
||||
# Cancel IME composition when window is destroyed
|
||||
update_ime_position_for_window(self.id, False, -1)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue