xtermjs/xterm.js

Typing ~ in terminal results in 4~

Offen

#3.168 geöffnet am 05.11.2020

 (5 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)TypeScript (1.574 Forks)batch import
help wantedtype/bug

Repository-Metriken

Stars
 (16.196 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 2T 10h) (16 gemergte PRs in 30 T)

Beschreibung

Issue Type: Bug

Hello,

I have a keyboard with spanish layout.

When typing the ~ character (which in my case is Alt Gr + 4) in the terminal 4~ is printed. This only happens when I use the integrated terminal in vscode, and only with the ~, for example with the # which is Alt Gr + 3 does not happen

error3 error4

For example these examples are using windows terminal & cmd

noerror

VS Code version: Code 1.49.3 (2af051012b66169dde0c4dfae3f5ef48f787ff69, 2020-10-02T17:57:01.595Z) OS version: Windows_NT x64 10.0.19041 Remote OS version: Linux x64 4.19.128-microsoft-standard

Also tested in Hyper terminal

hyperexample

This issue was originally created in the vscode repo https://github.com/microsoft/vscode/issues/108077

Contributor Guide