question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

pacman style progress bar

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:16 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
FredBrockstedtcommented, May 1, 2020

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 😉

On 1. May 2020, at 17:36, Rogério Sampaio de Almeida notifications@github.com wrote:

You’re welcome man! Thank you for the idea! I’ll let you know when it is available.

I didn’t get Arch Linux joke 🤔 I use macOS 😉

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/rsalmei/alive-progress/issues/34#issuecomment-622437481, or unsubscribe https://github.com/notifications/unsubscribe-auth/AA2DDPXURVLX5QJ2S2OLQM3RPLUA5ANCNFSM4MXCL4WQ.

0reactions
rsalmeicommented, May 11, 2020

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! 👍

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found