-
Notifications
You must be signed in to change notification settings - Fork 108
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
Input api issues #328
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I had a few issues using bracket-lib dealing with the Input API. Mostly because I assumed
ctx.key
represents all/most of the ascii character set at least, but it seems a bit lacking. For example when I input things like ">" and "<" (common up-stair/down-stair keys) thectx.key
never gets populated by anything. I think adding something that corresponds to the ascii character would help here - for examplectx.ch
which returns achar
. This would also be helpful for text input.Just an idea. I eventually implemented input using
INPUT.lock()
which seemed to work much better, but took a bit more boilerplate.The text was updated successfully, but these errors were encountered: