Skip to content

Conversation

@kenodegard
Copy link
Contributor

When using ProgressBars it makes sense for elapsed time to stop incrementing once the counter in question finishes.

Copy link
Member

@jonathanslenders jonathanslenders left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Have a look at the comments and then I'll merge it.

Ken Odegard added 2 commits September 27, 2019 12:16
Store the stop_time in order to track how long it took for the event to complete not how long the ProgressBarCounter has been around.
@kenodegard kenodegard force-pushed the progressbar.stop-time branch from 124d58a to 8f777a3 Compare September 27, 2019 17:34
@jonathanslenders jonathanslenders merged commit d3ad16d into prompt-toolkit:master Sep 30, 2019
@jonathanslenders
Copy link
Member

Thanks @njalerikson!

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

Labels

None yet

2 participants