xtermjs/xterm.js

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

Open

#2,151 opened on May 31, 2019

View on GitHub
 (52 comments) (7 reactions) (0 assignees)TypeScript (1,574 forks)batch import
area/imehelp wantedtype/bug

Repository metrics

Stars
 (16,196 stars)
PR merge metrics
 (Avg merge 2d 10h) (16 merged PRs in 30d)

Description

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

Contributor guide