Skip to content

Avoid using key code with alt modifier except on MacOS - #2275

Open
zakwilson wants to merge 1 commit into
lem-project:mainfrom
zakwilson:alt-key-layout-fix
Open

Avoid using key code with alt modifier except on MacOS#2275
zakwilson wants to merge 1 commit into
lem-project:mainfrom
zakwilson:alt-key-layout-fix

Conversation

@zakwilson

Copy link
Copy Markdown

When using Alt as a modifier key, Lem ignores the system keyboard layout and looks at KeyboardEvent.code instead. This appears to be motivated by the Option key on MacOS sending something other than the base key.

This limits the special handling to MacOS, making the system keyboard layout work in combination with Alt on other platforms. This addresses #2090 for not-MacOS, but should not close the issue until MacOS is also fixed.

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