question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Scandinavian keyboard layout can't handle input tilde (~)

See original GitHub issue

To type ~ with Finnish/Swedish keyboard I have to press hotkey alt+^: image

After that it shows something similar to ~ but right after when I press any other character (except Enter) it will erase “pre-tilde” symbol. Press Enter “converts” to normal ~ and nothing more (without real Enter).

I checked how this works with vanilla JS and it seems something wrong at browser-level: image

Is it fixable? Wdyt?

Related bugs:

https://github.com/xtermjs/xterm.js/issues/174

Details

  • Browser and browser version: Chrome (latest)
  • OS version: MacOS X (latest)
  • xterm.js version: 3.14.0

Steps to reproduce

  1. Add support of Finnish keyboard in your OS
  2. Try to use ~ from keyboard

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:7
  • Comments:52 (16 by maintainers)

github_iconTop GitHub Comments

3reactions
ojacquescommented, Mar 24, 2021

🥳 The workaround mentioned earlier https://github.com/xtermjs/xterm.js/issues/2151#issuecomment-515116994 by @insertt worked for me (French keyboard). No more é~ in VS Code terminal with my French layout keyboard!

  • Create / install the layout without dead keys per the instructions above (here is the one I built for me: French Keyboard layout for VSCode.zip)
  • Reboot (otherwise, Win 10 did not took fully into account)
  • In Win 10 / Language settings, add the new keyboard layout

image (My PC is configured for US, but I use a French Keyboard)

2reactions
alexandrehpivacommented, Sep 3, 2021

I just discovered a strange thing: If I press the accent key 3 times and then press the letter, it works and I get: “~ã”

Peek 2021-09-03 08-43

Read more comments on GitHub >

github_iconTop Results From Across the Web

Why keyboard shortcuts don't work on non-US layouts and ...
Yeah, I use EurKEY which gives me Ctrl+Alt+s for ß and has a lot of other Ctrl+Alt special characters but is otherwise a...
Read more >
Tilde key giving double characters in editor with swedish ...
I'm having trouble typing the tilde-character in the editor. I'm using a swedish keyboard which means that in order to type a 'tilde'...
Read more >
Pressing the tilde key (~) waits for a second key stroke, how ...
First, download and install Microsoft Keyboard Layout Creator. Then, follow these steps: open KLC and go to File -> Load Existing Keyboard..
Read more >
Enter "vertical bar" (or "pipe symbol") in Windows - Ask Different
I had the same problem with the German keyboard. Press the key <>| and Alt ...
Read more >
What is a Tilde? - Computer Hope
Alternatively known as the squiggly or twiddle, the tilde is a character ( ~ ) on keyboards below the Esc (escape key). It...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found