refactor: fix completion updates
This commit is contained in:
parent
b314a4c8c0
commit
d4eb0d046c
4 changed files with 9 additions and 4 deletions
|
|
@ -267,6 +267,7 @@ pub fn Create(options: type) type {
|
|||
}
|
||||
|
||||
pub fn update_query(self: *Self, query: []const u8) !void {
|
||||
self.query.clearRetainingCapacity();
|
||||
try self.query.appendSlice(self.allocator, query);
|
||||
return self.start_query(0);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue