fix: update_completion should also update completion query text

Also, resize dropdown based on new completion suggestions.
This commit is contained in:
CJ van den Berg 2026-02-01 17:57:32 +01:00
parent 97745a992a
commit 99e3e6aeae
Signed by: neurocyte
GPG key ID: 8EB1E1BB660E3FB9

View file

@ -374,7 +374,8 @@ const cmds = struct {
}
clear_entries(self);
_ = try load_entries(self);
self.longest_hint = try load_entries(self);
try update_query_text(self, self.value.editor.get_primary().cursor);
}
pub const update_completion_meta: Meta = .{};
};