Textualize / rich

Rich is a Python library for rich text and beautiful formatting in the terminal.
https://rich.readthedocs.io/en/latest/
MIT License
49.04k stars 1.71k forks source link

[REQUEST] timeout in Prompt #3385

Open nschloe opened 3 months ago

nschloe commented 3 months ago

I'd love to see optional timeouts in Prompt.

I have a fallback prompt in one of my codes that allows the user to input information is not provided earlier. When testing, I sometimes happen to provide incomplete data, the code takes the prompt path, and the process runs forever (waiting for user iniput) when it really should fail.

github-actions[bot] commented 3 months ago

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