Skip to content

Ctrl+delete in integrated terminal maps to "enter" key #136994

@Ranguna

Description

@Ranguna

Does this issue occur when all extensions are disabled?: Yes

Version: 1.62.1
Commit: f4af3cb
Date: 2021-11-10T00:23:38.003Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.14.16-arch1-1

Steps to Reproduce:

  1. Open vscode
  2. Open the integrated terminal
  3. Write "some random text"
  4. Move the cursor the the space between "some" and "random"
  5. Press ctrl+delete

What was expected to happen:
6. the word "random" gets deleted, leaving "some text" in the terminal

What actually happened:
6. ctrl+delete is mapped to enter, the the line in the terminal is executed.

(for extra adrenaline and to free space on your disk, replace "some random text" with "rm -rf ~". PLEASE DON'T DO THIS, but I can imagine someone doing a destructive operation thinking that ctrl+delete will delete a word)

Also, the above steps are not reproducible in:
Version: 1.61.2
Commit: 6cba118
Date: 2021-10-20T00:21:59.656Z
Electron: 13.5.1
Chrome: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Linux x64 5.14.16-arch1-1

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugconfirmedIssue has been confirmed by VS Code Team memberinsiders-releasedPatch has been released in VS Code Insidersterminal-inputRelating to typing in the terminal not doing the right thing, IMEs not working, etc.verifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions