Skip to content

Conversation

@ikirill
Copy link

@ikirill ikirill commented Aug 5, 2022

I was getting quite a bit of flickering, especially when displaying values under the progress bar, so this patch tries to address that by putting all the output into an IOBuffer before writing it all at once.

In particular, the cursor was constantly moving back and forth (visibly!) between the beginning and the end of the line.

Don’t write directly to stdout, it is not buffered and a sufficiently
fast terminal will show partial progress bar writes.
@timholy
Copy link
Owner

timholy commented Feb 20, 2023

Let's re-run the tests here.

@timholy timholy closed this Feb 20, 2023
@timholy timholy reopened this Feb 20, 2023
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