From 3ce4aaf33a1a04a08b94e3176ad831c71bba0967 Mon Sep 17 00:00:00 2001 From: Levi Date: Tue, 8 Apr 2025 15:01:37 -0300 Subject: [PATCH] fix: move_next_word_end (#225) --- src/tui/mode/helix.zig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tui/mode/helix.zig b/src/tui/mode/helix.zig index 46a9880..0343e97 100644 --- a/src/tui/mode/helix.zig +++ b/src/tui/mode/helix.zig @@ -132,7 +132,7 @@ const cmds_ = struct { const root = try ed.buf_root(); for (ed.cursels.items) |*cursel_| if (cursel_.*) |*cursel| { - cursel.disable_selection(root, ed.metrics); + cursel.selection = null; }; ed.with_selections_const_repeat(root, move_cursor_word_right_end_helix, ctx) catch {};