-
Notifications
You must be signed in to change notification settings - Fork 69
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
AltGr + 3/4/5/6/7/8 = "#", "{", "[", "|", "`", "\" chars are not typed on French Keyboard. #102
Comments
Please recheck master |
Awesome and useful trick |
This should fix #97 too. |
Does it work? |
Sorry for the delay, I must launch terminal.js from node-webterm ASAP. I want to replace term.js with terminal.js on my website, just need to work on the minimal socket.io implementaiton of terminal.js (don't need static I use Apache and it reverse proxy). And the missing Cut/Past. |
Copy should work as it, paste can easy be added: <input type=text id="foo">
<input type=button onclick="terminal.write(document.getElementById('foo').value)"> |
Just need to build before test... There is a "dist" (and minified) version inside the node package, but how I can get this from sources ? |
|
you are too fast lol |
i just discovered grunt thanks:) |
fast by accident ;) |
NOK:( always AltGr + 3-to-8 not working (the \ produce always a backspace delete) |
Do you use vanilla node-webterminal to test? Which browser and OS? |
Firefox 40.0.3 / Windows Server 2012 R2 (not important, I tested on a lot of computer all the same) What is Vanilla ? You can look my temporary client here (static served over Apache and websocket tunnel) I use special config to get many nodejs servers over Apache!
|
Strange, for me it worked with the changes. |
I tested empty web cache, and another computer : Firefox 31.2.0 on Windows 7 same problem:( |
The keypress handler is perfect inside the Anyterm client (http://www.serveurperso.com/anyterm.html) and OK only for Firefox inside my term.js mod (http://www.serveurperso.com/terminal.php) |
Can you set a breakpoint to line 1384 and look for the value of String.fromCharCode(key)? |
OK |
I can add a realtime console.log(); |
I think I need to use a windows instance to debug that, at least from linux, it looks fine. I can debug it from a windows box tomorrow. |
This is a cool event test http://unixpapa.com/js/testkey.html my AltGr chars work on it there is a input box |
It's strange, my chars are never get from your function : http://www.serveurperso.com/temp/node-webterm/index.html
|
I also tested with your input visible and focused. same problem (get any chars but not famous AltGr...). |
I discovered a working condition :
|
I think it's possible to merge both keypress and keydown into one event listener. |
Maybe related to vercel/hyper#466 |
Hello,
This is a JavaScript / Browser problem:
AltGr + 3/4/5/6/7/8 = "#", "{", "[", "|", "`", "" are not typed on French Keyboard.
Same issue on project "term.js"
There is an elegant way to solve this ?
Pascal
The text was updated successfully, but these errors were encountered: