Skip to content
This repository has been archived by the owner on Mar 31, 2024. It is now read-only.

Percentage In Progress Bar #97

Open
Miserlou opened this issue Jan 6, 2014 · 3 comments
Open

Percentage In Progress Bar #97

Miserlou opened this issue Jan 6, 2014 · 3 comments

Comments

@Miserlou
Copy link

Miserlou commented Jan 6, 2014

Would you be willing to accept a patch replacing

BAR_TEMPLATE = '%s[%s%s] %i/%i - %s\r'

with

BAR_TEMPLATE = '%s[%s%s] %i\% - %s\r'

So that

[################################] 3728/3728 - 00:00:00

becomes

 [################################] 100% - 00:00:00

?

@jpiper
Copy link
Collaborator

jpiper commented Jan 9, 2014

I wonder if this is a popular feature? We could definitely add percentage to the optional arguments.

@MoritzS
Copy link

MoritzS commented Jan 10, 2014

I think the best solution would be to make the template an argument to bar and usestr.format() to make it customizable.

@m3nu
Copy link

m3nu commented Apr 2, 2015

I was also just missing this feature. Hard to implement?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants