Skip to content

Commit

Permalink
Update suggestions after autocomplete
Browse files Browse the repository at this point in the history
Fixes #257
  • Loading branch information
moritz-hoelting committed Jun 17, 2024
1 parent 0e39b45 commit be56a17
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions inquire/src/prompts/text/prompt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,7 @@ impl<'a> TextPrompt<'a> {
{
Replacement::Some(value) => {
self.input = Input::new_with(value);
self.update_suggestions()?;
Ok(ActionResult::NeedsRedraw)
}
Replacement::None => Ok(ActionResult::Clean),
Expand Down

0 comments on commit be56a17

Please sign in to comment.