xtermjs/xterm.js

Typing ~ in terminal results in 4~

开放

#3,168 创建于 2020年11月5日

 (5 条评论) (0 个反应) (0 位负责人)TypeScript (1,574 个派生)batch import
help wantedtype/bug

仓库指标

星标
 (16,196 个星标)
PR 合并指标
 (平均合并 2天 10小时) (30 天内合并 16 个 PR)

描述

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

贡献者指南