fix(terminal): reset kitty keyboard support when resetting terminal state (#3760)

This commit is contained in:
Aram Drevekenin 2024-11-11 18:06:10 +01:00 committed by GitHub
parent 5a75f2b6ad
commit a994bd49dc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1727,6 +1727,7 @@ impl Grid {
self.mouse_tracking = MouseTracking::Off;
self.focus_event_tracking = false;
self.cursor_is_hidden = false;
self.supports_kitty_keyboard_protocol = false;
if let Some(images_to_reap) = self.sixel_grid.clear() {
self.sixel_grid.reap_images(images_to_reap);
}