prompt-toolkit / prompt-toolkit/python-prompt-toolkit
Scrolling ProgressBars
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 10.6k
- Forks
- 815
- PR merge metrics
- No merged PRs in 30d
Description
Is it possible to make the progress bars into a scrollable container?
While I could (and should) remove progress bars as they complete that doesn't address the issue of say having a window that is N lines long but having N+M bars and hence all of the M bars at the bottom of the container becoming inaccessible.
I have looked over the implementation of progress bars and read the documentation and I do not see a quick fix given that Containers themselves are not scrollable.
Any ideas?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reviewing the progress-bar implementation and the documentation on Containers, focusing on how more bars than available window lines are laid out. Determine how a container could expose all N+M bars through scrolling, and verify that bars at the bottom remain accessible when the window is shorter than the number of bars.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- cli
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100