sergot / Term--ProgressBar

Progress bar implementation for Perl 6.
2 stars 5 forks source link

The `name` attribute causes endless scrolling #6

Open MadcapJake opened 8 years ago

MadcapJake commented 8 years ago

The first example file prints 100,000 lines but if you remove the name attribute, it updates the first line properly.

sergot commented 8 years ago

It happens when the terminal is not wide enough, sadly. We should make it being able align to the width of the terminal... :)

MadcapJake commented 8 years ago

Something like tput cols?

sergot commented 8 years ago

Exactly!

I'm thinking about refactoring the whole module, it should be fixed there.