Skip to content

-1 in uint8_t caused ESC[H to clear to line end #10112

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

Closed
wants to merge 1 commit into from

Conversation

bill88t
Copy link

@bill88t bill88t commented Mar 5, 2025

me when they sign my uint8_t

Jokes aside, This causes ESC[H to clear but only go back up to the end of the first line.
Tested. I'll be doing more ansi work now that the nice infra for ANSI is merged in.
I'm pushing this as an individual fix as it breaks displayio terminal applications.

@RetiredWizard
Copy link

RetiredWizard commented Mar 5, 2025

Thanks, I did catch this and one of the later PR commits replaced the uint_8t with an int_16t just in case we ever work with really big screens 😁

EDIT: The change was actually in the next PR #10110

@RetiredWizard
Copy link

The -1 flag functionality was actually replaced by the calculation of n_args though so I do like defaulting all the elements to zero. I'll do that in the ranged scroll PR.

@bill88t
Copy link
Author

bill88t commented Mar 5, 2025

Closing in favor of #10110

@bill88t bill88t closed this Mar 5, 2025
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

Successfully merging this pull request may close these issues.

2 participants