-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Support for something like "readNextKey()"? #21
Comments
One thing you should be able to do currently is something like |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This library, as all your work, looks awesome!
I am pretty sure it should be possible to add a function
readNextKey()
so that it would return the "logical key" that the user pressed:k
,S
,4
,Enter
,F5
,Page-Up
,Ctrl-C
,Alt-D
,Ctrl-Alt-L
, etc. This would require decoding the escape sequences associated to keys such asPage-Up
(which is something that is at least partially done today, right?), and might require adding defines / enums for the possible key values.Do you think something like this could be useful?
The text was updated successfully, but these errors were encountered: