-
Notifications
You must be signed in to change notification settings - Fork 298
Can't type square brackets [ ] #644
Comments
Thanks for logging the issue, @Balagrio , and all the details. I'm guessing it is related to some difference in the german keyboard layout. I think this is an issue with the mapping / conversion logic in |
@extr0py I don't think so. The global code for ESC is 27, which is the keycode mapping. I tried doing a German keyboard layout and testing different representation of the keycode in JS. It all printed out as ESC being pressed. Can't really see a solid solution. |
I'm expiriencing this too. Same problem happens when I paste text while in Insert mode. Maybe it doesn't handle CRLF/LF correctly? |
I think this is because we aren't handling the |
I do not quite get the root of the problem. On the german keyboard |
This was fixed in PR #717 (which is in the v0.2.10 release), the |
Hi, I just tried right now with the v0.2.11 release on a laptop with windows 10 and a spanish keyword. I can't type the opening square bracket ([), but I can type the closing one normaly. How could I help, get the key code or so? |
Logged an issue at atom/keyboard-layout#36 to track. In the meantime, I'll fix this locally by special casing this. |
* Add quick fix for BracketLeft issue * Fix lint issue
FYI @soratobukuroneko - The fix for this is in the latest build - v0.2.12. Feel free to open a new issue if there are any other keyboard-layout problems - we may need to generalize the 'hack' here. |
I tried the v0.2.12 release and the "1.0.256" build from appveyor but the opening bracket keep getting resolved to |
Hello, On Windows 7 with a Belgian Layout this problem is still present. |
Up. Same problem on the Belgian layout on Windows 10 |
@MatonAnthony @Julien00859 Can you post the output of the Dev Console as outlined by @bryphe above? Are you using 0.3.2? |
Problem is I have no [Key event] showing in the console (
Was in command mode Edit: running version 0.3.2 |
@Julien00859 the key events seems logged with debug log level so try using |
Indeed
|
For some reason I can't type square brackets using Oni 0.2.8 on Windows 7.
The input works on any other window, just inside Oni it does not work.
It only switches from
insert
tonormal
mode when I try to type[
.When typing
]
Oni does nothing.I use the standard german keyboard layout (in Neovim without Oni everything works fine).
I am currently not using a custom
init.vim
, myconfig.js
looks like thisThe text was updated successfully, but these errors were encountered: