asweigart / asweigart/pyinputplus
Request: Automatic timeout
Open
- Dominant language
- Python
- Stars
- 114
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
Would it be possible to have something like an `automatic_timeout` parameter after which the prompt automatically returns the `default` value?
This would be useful to show a prompt but proceed automatically if there were no user interaction.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reviewing the prompt/input API and how the `default` value is currently handled. Define the expected `automatic_timeout` behavior, including what happens when there is no user interaction, and verify that the prompt returns the default value after the timeout.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100