Skip to content

Conversation

gchriz
Copy link
Contributor

@gchriz gchriz commented Feb 5, 2024

Unfortunately the change of #2645 breaks the toggleHelp on keyboards with a non-english layout. The "?" doesn't have keyCode 191 there.

Since it's probably impossible to catch all international keyboard layouts regarding the "?" I suggest this:

Add an additional key for toggleHelp: The F1 key (keyCode 112).
It's well known for its meaning of "Help".
That would be backwards compatible and should work on all usual keyboards.

@gchriz gchriz changed the title add F1 key to toggleHelp for non-english keyyboards add F1 key to toggleHelp for non-english keyboards Feb 5, 2024
@hakimel hakimel merged commit f149d1f into hakimel:master Feb 6, 2024
@hakimel
Copy link
Owner

hakimel commented Feb 6, 2024

Looks good, thanks!

@gchriz gchriz deleted the toggleHelp branch February 6, 2024 17:29
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.

2 participants