Skip to content

Add showelapsed and showeta options to Progress#356

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

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

Conversation

@lgoettgens

Copy link
Copy Markdown

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
Copy Markdown
Author

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

@lgoettgens

Copy link
Copy Markdown
Author

Gentle bump

@MarcMush

MarcMush commented Mar 4, 2026

Copy link
Copy Markdown
Collaborator

I think these are absolutely options that ProgressMeter.jl should have but I'm hesitant to add new printing options before tidying printing with for example something like #357

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

2 participants