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

Brackets and Braces don't work for me, I have a Spanish keyboard #40

Closed
pastuxso opened this issue Aug 29, 2014 · 9 comments
Closed

Brackets and Braces don't work for me, I have a Spanish keyboard #40

pastuxso opened this issue Aug 29, 2014 · 9 comments
Labels

Comments

@pastuxso
Copy link

No description provided.

@gsamokovarov
Copy link
Collaborator

Thanks for the report, will look into it.

@nachokb
Copy link

nachokb commented Nov 25, 2014

also, looks like dead keys don't work either (I use "US, international with dead keys" on a Linux machine) -- probably needs fix on term.js's side though

@rthauvin
Copy link

rthauvin commented Jun 4, 2015

Same for me. I use an 'AZERTY' french keyboard layout : all special characters normally triggered with the [ALT] keys on this layout (ie.: #{[|`^@]}€¤) don"t work at all. Any workaround until resolved? (except copying/pasting the characters from elsewhere). Thanks.

@ryandao
Copy link

ryandao commented Jun 7, 2015

Interesting, I never thought about that. The current console considers ALT (and CTRL) key combinations as non-renderable as specified in the logic here https://github.com/rails/web-console/blob/master/lib/web_console/templates/console.js.erb#L322.

I don't have any workaround at the moment. @gsamokovarov maybe we need to re-think the current key press approach? A hidden input element should solve this problem.

@gsamokovarov
Copy link
Collaborator

@ryandao, if you wanna take a shot at that, please go ahead.

@VigibotDev
Copy link

Same problem here please help

@augustosamame
Copy link

Same problem here. Forced to copy paste brackets and braces until fix

@bsylvain
Copy link

bsylvain commented Nov 7, 2016

I use an azerty keyboard, and 'alt gr' modifier to use chars such as ~#{[|` does not work in chrome 54. However, it works in Firefox 49.

fl0l0u added a commit to fl0l0u/web-console that referenced this issue Jul 29, 2017
Special characters combinations on non US keyboards are marked as ev.ctrlKey == true and ev.altKey == true (eg. 'AltGr' + '(' => '[' on fr-FR keyboard).
gsamokovarov added a commit that referenced this issue Oct 5, 2017
@gsamokovarov
Copy link
Collaborator

Please feel free to chime in and I'll reopen if this issue is still present in the upcoming 3.6.0 release.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

8 participants