Skip to content

LowerCase letters to vm for key_pressed()#7

Open
Fioris-tcd wants to merge 2 commits intopytchlang:developfrom
Fioris-tcd:fioris-develop
Open

LowerCase letters to vm for key_pressed()#7
Fioris-tcd wants to merge 2 commits intopytchlang:developfrom
Fioris-tcd:fioris-develop

Conversation

@Fioris-tcd
Copy link
Contributor

Add canonicalKeyName(e: KeyboardEvent), to return e.key.toLowerCase() if e.key is a capital letter A-Z, for onKeyDown and onKeyUp. (The vm expect LowerCase letters for key_pressed())
Extend the existing test keypressed.cy.ts testing also capital letters.

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