-
Notifications
You must be signed in to change notification settings - Fork 65
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
lua api: display.clear could be added back #219
Comments
Which firmware are you using? |
It was the latest at the time. This part Is what I would think is a bug/oddity, because it should clear. I did not try to display.show() in a row. |
I get the same behaviour on firmware |
Update: Firmware v24.276.1359 Back-buffer clearing still seems to have a bug, and now the approach of "drawing a ' ' of text, then calling show()" doesn't work either. Other times the glitch shows up is just sending a break signal on wakeup - the "tap me in" prompt sometimes isn't cleared when the "Frame is Paired" text is shown. But other times it is - it's just intermittent. So now it's not clear what would clear the display at all. |
There does not seem to be a way to clear the display without first putting some text into the buffer, and then displaying it. So, it is possible to clear the display, but you have to issue a seemingly unnecessary text call to do it. Here is an example:
Primary suggestion: re-add a clear function to the lua api
Secondary suggestion: make display.show with any empty buffer clear the display
Thanks!
The text was updated successfully, but these errors were encountered: