xtermjs/xterm.js

Typing ~ in terminal results in 4~

Aperta

#3168 aperta il 5 nov 2020

 (5 commenti) (0 reazioni) (0 assegnatari)TypeScript (1574 fork)batch import
help wantedtype/bug

Metriche repository

Star
 (16.196 stelle)
Metriche merge PR
 (Merge medio 2g 10h) (16 PR mergiate in 30 g)

Descrizione

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

Guida contributor