Skip to content

Fix refresh rate for progress bars - #4602

Merged
djc merged 2 commits into
mainfrom
progress-refresh
Nov 19, 2025
Merged

djc merged 2 commits into
mainfrom
progress-refresh

Conversation

@djc

@djc djc commented Nov 18, 2025

Copy link
Copy Markdown
Contributor

I guess it seemed like a good idea at the time to avoid applying a rate limit to progress bar drawing to a TermLike, since a consumer might want to be able to observe every draw. In this case, though, we really want some rate limiting to prevent flickering, so explicitly set the refresh rate to indicatif's default of 20 Hz.

@djc
djc requested review from ChrisDenton and rami3l November 18, 2025 11:27
This was referenced Nov 18, 2025

@rami3l rami3l left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

The code looks pretty simple. I entrust you with the manual testing of the fix :)

@djc
djc added this pull request to the merge queue Nov 18, 2025
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 18, 2025
@djc
djc added this pull request to the merge queue Nov 19, 2025
Merged via the queue into main with commit 24d6b7e Nov 19, 2025
29 checks passed
@djc
djc deleted the progress-refresh branch November 19, 2025 06:26
@rami3l rami3l mentioned this pull request Mar 17, 2026
2 tasks done
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.

2 participants