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

qol(melpo): Quit on quit and poll keyboard more often #179

Merged
merged 2 commits into from
Jul 23, 2023

Conversation

jamesmunns
Copy link
Contributor

This PR switches the polling behavior in cases where we don't need to draw to the screen. This includes reading key events, and potentially catching "stop" events.

We also now hard-exit when the window is closed or a control-c is received.

@jamesmunns jamesmunns requested a review from hawkw July 23, 2023 03:04
@jamesmunns jamesmunns merged commit 68e4448 into main Jul 23, 2023
5 checks passed
@jamesmunns jamesmunns deleted the james/melpo-qol branch July 23, 2023 03:21
@jamesmunns jamesmunns added platform: melpomene Specific to the Melpomene simulator platform area: drivers Related to driver implementation for hardware devices. labels Jul 31, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: drivers Related to driver implementation for hardware devices. platform: melpomene Specific to the Melpomene simulator platform
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants