fix: disambiguate find and find_query commands
This commit is contained in:
parent
ea31e414ee
commit
2d9e66b534
2 changed files with 2 additions and 2 deletions
|
@ -501,7 +501,7 @@ pub fn handle_editor_event(self: *Self, _: tp.pid_ref, m: tp.message) tp.result
|
|||
if (text.len == 0)
|
||||
return self.clear_auto_find(editor);
|
||||
if (!self.is_last_match_text(text)) {
|
||||
tp.self_pid().send(.{ "cmd", "find", .{text} }) catch return;
|
||||
tp.self_pid().send(.{ "cmd", "find_query", .{text} }) catch return;
|
||||
}
|
||||
}
|
||||
return;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue