Skip to content

Add showelapsed and showeta options to Progress#356

Open
lgoettgens wants to merge 1 commit intotimholy:masterfrom
lgoettgens:lg/showelapsed
Open

Add showelapsed and showeta options to Progress#356
lgoettgens wants to merge 1 commit intotimholy:masterfrom
lgoettgens:lg/showelapsed

Conversation

@lgoettgens
Copy link

Resolves #287.

This adds the possibility to set showelapsed=true for a Progress object to additionally show the total elapsed time. With showeta=false, one can further hide the current eta output.
To make this work, I had to refactor tty_width quite a bit, but I think the new comments there make it really clear what's happening.

I am happy to hear your feedback!

@lgoettgens
Copy link
Author

@timholy would you mind having a look at this? Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature request: Add option to show elapsed time since start

1 participant