-
Notifications
You must be signed in to change notification settings - Fork 17
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
Keypresses getting propagated from a launched program to Cesium when exiting #1
Comments
Can confirm that this happens in calcuzap. It must be something to do with how calcuzap handles the keypresses though, other programs don't cause cesium to close when pressing clear to exit. |
Might there be a way to clear the "key buffer" as soon as Cesium regains control, though? |
Looks like getkey is part of the main loop https://github.com/MateoConLechuga/Cesium/blob/master/src/routines/main.asm#L57 |
I have a fix: |
Um. If you enable interrupts, that means TIOS interrupts will be executing. On Tue, Oct 13, 2015 at 4:52 PM, Adrien Bertrand notifications@github.com
|
Hmm. |
You might want to just EDIT: We may even want to |
Yeah that looks safe enough. |
Actually, not doing |
Fixed in 1.1.2 (commit: 305c7ff) Closing the issue for now. |
I've just tested and can confirm that this is fixed. |
Will capture last key press when closing programs
Ex:Open calcuzap,press clear, cesium will close.
The text was updated successfully, but these errors were encountered: