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
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.
The text was updated successfully, but these errors were encountered:
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:The user input for
msg()
is at the same line withWhat's your age:
. I want the user's next try is also at the same line withThat's not correct, try again:
. That will make the UI a little bit more clean. Thanks.The text was updated successfully, but these errors were encountered: