Skip to content

Fix the input function for receiving '0'#6

Open
NeilFraser wants to merge 1 commit intomainfrom
input-zero
Open

Fix the input function for receiving '0'#6
NeilFraser wants to merge 1 commit intomainfrom
input-zero

Conversation

@NeilFraser
Copy link
Copy Markdown
Owner

The zero key returns code 16, not 0. Add a special case to change 16 to 0. A side effect of this observation is that the DSKY can't return a 0, so using -1 as a flag isn't needed, we can just use 0.

The zero key returns code 16, not 0.  Add a special case to change 16 to 0.
A side effect of this observation is that the DSKY can't return a 0, so using -1 as a flag isn't needed, we can just use 0.
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.

1 participant