terminal: eraseDisplay complete needs to delete kitty images

This commit is contained in:
Mitchell Hashimoto
2024-03-20 16:20:30 -07:00
parent 3f23de4373
commit b0c0307dda

View File

@ -1793,8 +1793,11 @@ pub fn eraseDisplay(
self.screen.cursor.pending_wrap = false;
// Clear all Kitty graphics state for this screen
// TODO
// self.screen.kitty_images.delete(alloc, self, .{ .all = true });
self.screen.kitty_images.delete(
self.screen.alloc,
self,
.{ .all = true },
);
},
.complete => {