pacman style progress bar
See original GitHub issueI fail to make a pacman style progress bar with:
pacman = standard_bar_factory(borders="[]", tip=None, chars="Cc-", blank=" o")
It works sort of, but the dots move “away” from the “pacman”. Example:
[----------C o o o o o o o o o o]
[-----------C o o o o o o o o o ]
[------------C o o o o o o o o o]
ideally the dots would stay in place, like this:
[----------C o o o o o o o o o o]
[----------c o o o o o o o o o o]
[-------------------------C o o o o]
The problem arises from how the padding (right part of the progress bar) is handled in bars.py. My idea would be using some module tricks to scroll the padding. There is probably a better way.
Issue Analytics
- State:
- Created 3 years ago
- Comments:16 (10 by maintainers)
Top Results From Across the Web
How to get that pacman (loading? progress bar?) thing that ...
Have you seen garuda linux? When you upgrade you get that pretty pacman(not package manager) eating through instead of '#' in the progress...
Read more >Arch Linux Easter Egg - Pacman Progress Bar Turns to Actual ...
The usual progress bar made of # and = will turn to a trail of rounds that are eaten by pacman (shaped C)...
Read more >[SOLVED] Archbang-styled pacman progress bar? / Pacman ...
Hello! Some weeks ago I tried the Archbang distribution and was intrigued by the modification that had been made to the pacman progress...
Read more >Change the Progress Bar in Pacman and make Sudo insult you
Just for fun. change the progress bar in pacman and make sudo insult you everytime you type a wrong password.
Read more >xeBuz/pacman-progressbar - GitHub
A ProgressBar for Python, based on Arch progressbar, with ILoveCandy option enabled. Instalation. pip install pacmanprogressbar ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Pacman is the official package manager for Arch Linux (similar to pip for python). Pacman has a easter egg, where the progress bar mimics pacman. There is also a joke, that you find out that someone uses Arch Linux, because they will tell you 😉
Fixed that small python2 bug in #38.
Your PR #37 will still be open for a while, and will be the basis for the
contrib
feature, ok?And I’ve enjoyed our chat, Thank you! 👍