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

Screen clear lines block #1039

Merged
merged 4 commits into from
Nov 2, 2023

Conversation

THEb0nny
Copy link
Contributor

A block that can clear multiple lines at once. In general, it is necessary so that in the screen output cycle, first clearing, and then printing ten lines, flickering occurs on the screen because screen output is not a fast operation. Therefore, I think that it is better to clear some lines first before outputting to them.

image

I would indicate the default values of the array, but as I understand it, pxt-core does not support such an option.

@THEb0nny
Copy link
Contributor Author

image

Copy link
Member

@jwunderl jwunderl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice thanks for the addition

@jwunderl jwunderl merged commit ac41b8a into microsoft:master Nov 2, 2023
@THEb0nny THEb0nny deleted the screen-clear-lines-block branch November 3, 2023 06:57
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