mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-04-20 14:25:19 +00:00
renderer: reset search dirty state after processing
This commit is contained in:
@@ -1193,6 +1193,8 @@ pub fn Renderer(comptime GraphicsAPI: type) type {
|
||||
|
||||
// Clear our highlight state and update.
|
||||
if (self.search_matches_dirty or self.terminal_state.dirty != .false) {
|
||||
self.search_matches_dirty = false;
|
||||
|
||||
for (self.terminal_state.row_data.items(.highlights)) |*highlights| {
|
||||
highlights.clearRetainingCapacity();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user