-
Notifications
You must be signed in to change notification settings - Fork 139
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
WindowsAnsiOutputStream.processDownCursor
overflows
#69
Comments
@chirino Would you be willing to accept and pushing the previous fix quickly? This is blocking the gradle/gradle#882 for us and it would be a waste if we would need to fork the repo just to do the fix. |
I opened a PR that fix the problem. |
I will reopen as the issue still exists in Jansi, workaround was done in Gradle. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The method
processDownCursor
can overflow the cursor position by potentially setting the cursor toinfo.size.y
which is an invalid position. This will cause anERROR_INVALID_PARAMETER
error to be returned fromSetConsoleCursorPosition
.The solution (not yet tested) to this last issue would be to replace
processCursorDown
with the following code:For more information, see this comment on gradle/gradle#882.
The text was updated successfully, but these errors were encountered: