-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Copied from https://gitlab.com/efunb/read_input/-/issues/5
It seems that the err() method automatically append a newline character at the end. Is it possible to not add this newline and let the user add it if necessary? I have the following code:
let input = input::<u8>()
.msg("What's your age: ")
.err("That's not correct, try again: ").get();The user input for msg() is at the same line with What's your age: . I want the user's next try is also at the same line with That's not correct, try again:. That will make the UI a little bit more clean. Thanks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels