refactor(find): switch back to synchronous find to eliminate flicker
This commit is contained in:
parent
66df590541
commit
12842b6b3b
1 changed files with 1 additions and 1 deletions
|
@ -3030,7 +3030,7 @@ pub const Editor = struct {
|
||||||
|
|
||||||
pub fn find_in_buffer(self: *Self, query: []const u8) !void {
|
pub fn find_in_buffer(self: *Self, query: []const u8) !void {
|
||||||
self.set_last_find_query(query);
|
self.set_last_find_query(query);
|
||||||
return self.find_in_buffer_async(query);
|
return self.find_in_buffer_sync(query);
|
||||||
}
|
}
|
||||||
|
|
||||||
fn find_in_buffer_sync(self: *Self, query: []const u8) !void {
|
fn find_in_buffer_sync(self: *Self, query: []const u8) !void {
|
||||||
|
|
Loading…
Add table
Reference in a new issue