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

macOptionIsMeta doesn't work for some keys in the US layout #3725

Closed
Eugeny opened this issue Apr 3, 2022 · 0 comments · Fixed by #3726
Closed

macOptionIsMeta doesn't work for some keys in the US layout #3725

Eugeny opened this issue Apr 3, 2022 · 0 comments · Fixed by #3726
Labels

Comments

@Eugeny
Copy link
Member

Eugeny commented Apr 3, 2022

macOptionIsMeta doesn't work for keys that produce composed characters, e.g. N, U and E in US layout

With Alt pressed, these are "dead keys" and trigger character composition. We need to find some way to distinguish between these Alt-initiated composition events and IME-initiated composition events when macOptionIsMeta is active.

image

This might in fact be as easy as ignoring composition when macOptionIsMeta && event.altKey

@Eugeny Eugeny changed the title macOptionIsMeta doesn't work for some keys macOptionIsMeta doesn't work for some keys in the US layout Apr 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant