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

status bar stays on screen after using ConsoleWithProgress #2

Closed
amm042 opened this issue Feb 1, 2022 · 2 comments
Closed

status bar stays on screen after using ConsoleWithProgress #2

amm042 opened this issue Feb 1, 2022 · 2 comments

Comments

@amm042
Copy link

amm042 commented Feb 1, 2022

If you stream a table with ConsoleWithProgress, it works great. But I have more output to display after the table but the 100% progress bar is stuck somehow on the bottom of the screen.

example

lazy_table.stream(...artist=lazy_table.artists.ConsoleWithProgress())
print("Hello world!") # this line will be above the status bar.

I think after the table is printed the cursor is positioned before the status bar and it inserts any additional output before the status bar.

Is there a way to remove the status bar when complete?

@parsiad parsiad mentioned this issue Feb 2, 2022
@parsiad
Copy link
Owner

parsiad commented Feb 2, 2022

Hi @amm042,

Thank you for flagging this. PR #3 should fix this. While I have tested it on my own machine, could you try it out before I merge and let me know if it covers your use cases?

Thanks,
Par

@amm042
Copy link
Author

amm042 commented Feb 2, 2022

yes, looks good. thanks!

@parsiad parsiad closed this as completed Feb 2, 2022
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