Pressing < key in a german keyboard adds a \ instead
See original GitHub issuePrerequisites
- New issue
Description
On a german keyboard if you pres the key that normally types <
, it would insert a \
.
Actual behavior
Expected Behavior
I expect that it normally adds a <
as it should. On a german keyboard one can type \
on a separate key already. And the english keyboard also has a separate keys for \
, <
and >
.
Steps to Reproduce
- Switch your keyboard to german.
- Try to type < in the mathlive input by pressing this key.
Environment
Operating System [Windows]
Browser [Chrome,Firefox]
URL [https://mathlive.io/]
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Tips for Typing German Characters With Your Computer
Here is help for using your computer keyboard to type in German, including tips and how to's.
Read more >German keyboard layout - Wikipedia
Like many other non-American keyboards, German keyboards change the right Alt key into an Alt Gr key to access a third level of...
Read more >Pressing E yields a euro sign "€" instead. What can I do to fix ...
I'm sure AltGr+E used to be the shortcut key when Euro first came along (so WIn 95 / 98 days). Possibly still the...
Read more >What can I do when pressing a key produces the wrong result?
If a key is producing the wrong response, check that Windows has the correct settings for your location and the language used by...
Read more >[SOLVED] Keyboard Typing Wrong Letters (2022) - Driver Easy
If you don't have a NUM key (if you're using a laptop), you'll need to press the FN key and the CAPS Lock...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I can confirm this. I’ve got a physical German keyboard, that I usually set to English keyboard layout for programming. The situation is complex, I assume the problem is that the German keyboard has slightly different physical keys (positioning and amount) than the English one.
When I set the keyboard to English a number of keys swap their places, usually for the better (especially for programming). The weird shape of the “Enter”-key on German keyboards make the key-bindings there a little strange though compared to a physical US-keyboard. The key labeled with
#
and'
produces the\
(and|
when holding shift) and is located about where the equivalent on a physical US keyboard would be. But then, there’s also the key labeled with<
,>
and|
in the lower left of the keyboard that doesn’t seem to have a physical equivalence on US keyboards. On US-layout, that one will produce\
and|
as well.When I press that strange button with my keyboard set to German, Mathlive switches to command mode first and then types
<
for subsequent presses. Interestingly, addingfixes this strange behavior completely. Is the command-mode maybe triggered by the keycode or something rather then by what the current keyboard layout is producing?
This should now be fixed.