From 185e081c7ce71bf16f798435fa6eebec70ecfe77 Mon Sep 17 00:00:00 2001 From: CJ van den Berg Date: Mon, 10 Nov 2025 12:12:20 +0100 Subject: [PATCH] fix: move_cursor_next_match should mark match as selected --- src/tui/editor.zig | 1 + 1 file changed, 1 insertion(+) diff --git a/src/tui/editor.zig b/src/tui/editor.zig index c8f2dc2..a85f13d 100644 --- a/src/tui/editor.zig +++ b/src/tui/editor.zig @@ -5405,6 +5405,7 @@ pub const Editor = struct { match_.has_selection = false; }; primary.selection = match.to_selection(); + match.has_selection = true; primary.cursor.move_to(root, match.end.row, match.end.col, self.metrics) catch return; self.clamp(); }