Skip to content

Commit 8450369

Browse files
committed
Use debounce
1 parent f32231b commit 8450369

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lua/claudecode/selection.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -93,9 +93,9 @@ function M.on_cursor_moved()
9393
end
9494

9595
--- Handles mode change events.
96-
-- Triggers an immediate update of the selection.
96+
-- Triggers a debounced update of the selection.
9797
function M.on_mode_changed()
98-
M.update_selection()
98+
M.debounce_update()
9999
end
100100

101101
--- Handles text change events.

0 commit comments

Comments
 (0)