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

on-key doesn't support upper cased characters #10

Open
dyoo opened this issue May 31, 2011 · 0 comments
Open

on-key doesn't support upper cased characters #10

dyoo opened this issue May 31, 2011 · 0 comments

Comments

@dyoo
Copy link
Owner

dyoo commented May 31, 2011

From sk:

  • It's impossible to get an upper-case character in on-key: after a
    long time trying to figure out why my program wasn't working, I
    finally added a field to the world to record the most recent
    keystroke, and saw that, eg, "B" shows up as "shift" + "b". I believe
    this is not consistent with DrRacket: eg, if I run

(big-bang empty
[on-key (lambda (w k)
(cons k w))]
[to-draw (lambda (w) (empty-scene 100 100))]
[stop-when (lambda (w)
(> (length w) 10))])

I get (list "F" "D" "S" "A" "F" "D" "S" "A" "F" "D" "A") in DrRacket.

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

1 participant