Replies: 2 comments 1 reply
-
Thank you for your issue. Give us a little time to review it. PS. You might want to check the FAQ if you haven't done so already. This is an automated reply, generated by FAQtory |
Beta Was this translation helpful? Give feedback.
0 replies
-
Coincidentally, it looks like a PR adding a similar option for Python's I'm not sure Rich is accepting new features now, but maybe this could be added without disruptive impact on the API? |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
One of the annoying things with hidden password input is that you sometimes stumble and then are not sure how many chars you have entered yet, or if you want to start over hit backspace often enough etc.
Generally at least for me it feels like a nicer interaction if there is a character displayed for every keystroke.
For that purpose I wrote me some contraption using readchar but it feels like it would also fit into rich.prompt and rich.console.input much nicer.
PS: For the case of adopting single char input one could also imagine adapting rich.prompt so that it can update the prompt based on the contents, like on many web forms where it says "password too short" or "must contain XYZ" using some user defined callbacks/callables
Beta Was this translation helpful? Give feedback.
All reactions