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

How to prevent the delayed printing of 100% line? #133

Open
michael-newsrx opened this issue Apr 27, 2022 · 2 comments
Open

How to prevent the delayed printing of 100% line? #133

michael-newsrx opened this issue Apr 27, 2022 · 2 comments

Comments

@michael-newsrx
Copy link

michael-newsrx commented Apr 27, 2022

I have an issue where the progress bar final 100% prints after the progress bar close has been called and other print statements have executed. There is also a doubled up effect where a 99% line is followed up by a 100% line.

 100% │████████████████████████████████████████████████████████████████████████████│ 31443/31443 (0:00:33 / 0:00:00) 2021-06-21
  99% │███████████████████████████████████████████████████████████████████████████▋│ 15924/16002 (0:00:16 / 0:00:00) 2021-06-28
 100% │████████████████████████████████████████████████████████████████████████████│ 16002/16002 (0:00:16 / 0:00:00) 2021-06-28
  99% │███████████████████████████████████████████████████████████████████████████▋│ 11593/11644 (0:00:11 / 0:00:00) 2021-07-05
 100% │████████████████████████████████████████████████████████████████████████████│ 11644/11644 (0:00:11 / 0:00:00) 2021-07-05
  99% │███████████████████████████████████████████████████████████████████████████▊│ 18752/18791 (0:00:19 / 0:00:00) 2021-07-12

  99% │███████████████████████████████████████████████████████████████████████████▉│ 67906/67948 (0:01:10 / 0:00:00) 2022-04-11
 100% │████████████████████████████████████████████████████████████████████████████│ 67948/67948 (0:01:10 / 0:00:00) 2022-04-11
  99% │███████████████████████████████████████████████████████████████████████████▊│ 23070/23130 (0:00:23 / 0:00:00) 2022-04-18
 100% │████████████████████████████████████████████████████████████████████████████│ 23130/23130 (0:00:23 / 0:00:00) 2022-04-18
  99% │███████████████████████████████████████████████████████████████████████████▉│ 34726/34778 (0:00:35 / 0:00:00) 2022-04-25
 100% │████████████████████████████████████████████████████████████████████████████│ 34778/34778 (0:00:35 / 0:00:00) 2022-04-25
  99% │███████████████████████████████████████████████████████████████████████████▋│ 14287/14350 (0:00:14 / 0:00:00) 2022-05-02

--- Total records exported: 1,709,374.
 100% │████████████████████████████████████████████████████████████████████████████│ 14350/14350 (0:00:14 / 0:00:00) 2022-05-02

Total elapsed: 00:30:21.193
@ctongfei
Copy link
Owner

ctongfei commented May 6, 2022

What terminal environment are you using?

@michael-newsrx
Copy link
Author

michael-newsrx commented Oct 11, 2022 via email

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

No branches or pull requests

2 participants