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
The "clear current line and reprint" doesn't work with long suffix #145
Comments
This can be "easily" fixed with the following spinner:
But I would have expected the spinner to handle it by itself Also, the downside of doing |
In fact the above "hack" doesn't even work when we start printing at the bottom of the terminal because scrolling messes up with the saved position. |
Care to share your solution or submit a PR? |
Yup @briandowns I'll submit a PR and tag you on it in the next few days when I have a bit more bandwidth 👍 |
@briandowns sorry it took so long, but the PR is up and ready for review: #146 |
Easy repro:
Other side effect: we can't have multi line suffix (string with
\n
)I think rather than clearing current line only, it should mark the location of the spinner and then erase everything between the marked location and current location.
The text was updated successfully, but these errors were encountered: