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

GET etc. never return Ctrl-@ #26

Open
jgharston opened this issue Dec 10, 2018 · 2 comments
Open

GET etc. never return Ctrl-@ #26

jgharston opened this issue Dec 10, 2018 · 2 comments

Comments

@jgharston
Copy link
Contributor

Is there a reason for GET/GET$/INKEY/INKEY$ and elsewhere to use constructions like this?
do {
ch=emulate_get() & 0xFF;
} while (ch==0);

It means that Ctrl-@ is never passed back to the caller.

@soruk42
Copy link
Collaborator

soruk42 commented Dec 11, 2018

This was a side-effect of fixing another bug where some keys (notably the cursor keys) returned two values in quick succession - a 0 followed by its actual value.

@jgharston
Copy link
Contributor Author

jgharston commented Dec 11, 2018 via email

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

No branches or pull requests

2 participants