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

Allow polling for input, correctly #118

Merged
merged 2 commits into from
Jun 17, 2024
Merged

Allow polling for input, correctly #118

merged 2 commits into from
Jun 17, 2024

Conversation

skx
Copy link
Owner

@skx skx commented Jun 17, 2024

This pull-request DROPS SUPPORT FOR WINDOWS, but adds the ability to detect when there is pending console input ready to be read.

This closes #117.

I've tested on Linux, I think the other platforms are probably okay. But who knows?

Feedback most welcome. I guess it will come if it affects people if this is broken then playing zork will fail. If this works we've got access to more console-based games.

skx added 2 commits June 17, 2024 17:35
This pull-request DROPS SUPPORT FOR WINDOWS, but adds the ability
to detect when there is pending console input ready to be read.

This closes #117.

I've tested on Linux, I think the other platforms are _probably_
okay.  But who knows?

Feedback most welcome.  I guess it will come if it affects people
if this is broken then playing zork will fail.  If this works we've
got access to more console-based games.
@skx skx merged commit e57ab23 into master Jun 17, 2024
2 checks passed
@skx skx deleted the 117-polling branch June 17, 2024 15:56
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.

Implement the ability to poll for pending input
1 participant