Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update timer while waiting #22

Open
benhansen-io opened this issue Jan 15, 2025 · 1 comment
Open

Update timer while waiting #22

benhansen-io opened this issue Jan 15, 2025 · 1 comment

Comments

@benhansen-io
Copy link

Great tool. Thanks for publishing it.

I was thinking it would be more useful and intuitive to me if the space line showed the current pause time and if it updated as the pause continues.

Right now from what I can tell the time shows the time of the previous wait (plus active time?) before the current wait.

If the time shows the current wait time with updating then it is easier to see at a glance how long the current wait has been going. Right now if I am not actively watching the terminal output, in order to know how long the current pause has been I have to look at the timestamp and compare to the current time.

One downside of updating is if the output is being piped to a file. In the non-TTY case, the current behavior might be a better default.

@samwho
Copy link
Owner

samwho commented Jan 15, 2025

That's a really cool suggestion, though it would increase the complexity of the code somewhat. If you wanted to have a crack at implementing this, I would be very happy to review it! I'll say up front that I am unlikely to be able to make the time to do it myself in the near future.

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

No branches or pull requests

2 participants