-
Notifications
You must be signed in to change notification settings - Fork 127
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
Progress bars get multiplied #39
Comments
It does not matter either all bars will be created in a single goroutine or not, you just need to use WaitGroup for this. I can assume that your code has calling fmt.println or something like that.
|
@gocruncher @gosuri @asahasrabuddhe
in the above code progress bars are getting repeated....any idea how can this be resolved can we make the output be independent of terminal size ....as the terminal is scrolled back and forth the progress bars keep on getting added |
@gocruncher thanks for your response....can u keep the terminal size small.and then run the code....also are u running the same.above code...? If not can u share your code snippet....the issue is seen when the terminal size is small |
@gocruncher basically if u resize the terminal during the code execution u will be able to reproduce the issue |
@harshit22394 I got u but unluckily as I know this is still open issue #3 |
ohhh...thanks for your time though |
My program is creating 2 Bars like so:
I would expect to see 2 lines of output, one per bar -- instead I am seeing the following:
I am creating the bars in arbitrary goroutines. Is this an issue? Should all the bars be created in a single goroutine?
The text was updated successfully, but these errors were encountered: