xtermjs/xterm.js

Typing ~ in terminal results in 4~

Ouverte

#3 168 ouverte le 5 nov. 2020

 (5 commentaires) (0 réaction) (0 personne assignée)TypeScript (1 574 forks)batch import
help wantedtype/bug

Métriques du dépôt

Stars
 (16 196 étoiles)
Métriques de merge PR
 (Merge moyen 2j 10h) (16 PRs mergées en 30 j)

Description

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

Guide contributeur