@@ -339,7 +339,7 @@ impl<T> Picker<T> {
339339 pub fn score(&mut self) {
340340 let now = Instant::now();
341341
342− let pattern = &self.prompt.line;
342+ let pattern = self.prompt.line();
343343
344344 if pattern == &self.previous_pattern {
345345 return;
@@ -607,7 +607,7 @@ impl<T: 'static> Component for Picker<T> {
607607
608608 let (_score, highlights) = self
609609 .matcher
610− .fuzzy_indices(&formatted, &self.prompt.line)
610+ .fuzzy_indices(&formatted, self.prompt.line())
611611 .unwrap_or_default();
612612
613613 surface.set_string_truncated(