You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let result:String = Input::new().with_prompt("My Prompt").with_post_completion_text("Completed Prompt").default("My Default".to_string()).interact_text().unwrap();
If the user types in their own input, everything works as intended. However if the user just presses Enter to use the default string, then the post completion text does not appear, instead the prompt appears.
The text was updated successfully, but these errors were encountered:
I have a
Input
that looks like this:If the user types in their own input, everything works as intended. However if the user just presses Enter to use the default string, then the post completion text does not appear, instead the prompt appears.
The text was updated successfully, but these errors were encountered: