Skip to content

[Bug] Unexpected behavior of "Shift+Enter" in Integrated Terminal #267575

@Dragon1573

Description

@Dragon1573

Type

Bug

Descriptions

Launching PowerShell Core 7 in Windows Terminal, I can use Shift+Enter to force a new line in my command. But in VSCode integrated terminal, Shift+Enter converts to type a character c, which is unexpected.

  • ℹ️ I've disabled my installed extensions (ONLY except the language pack) and this problem still occurs.
  • ℹ️ I've checked there aren't ANY user-defined shortcuts associated with Shift+Enter. ALL of them were defined by system.

Version info

VS Code version: Code 1.104.1 (0f0d87f, 2025-09-17T23:36:24.973Z)
OS version: Windows_NT x64 10.0.26100
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) i7-14700KF (28 x 3418)
GPU Status 2d_canvas: enabled
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 31.78GB (15.16GB free)
Process Argv --folder-uri file:///d%3A/Repository/winget-pkgs --crash-reporter-id e489f8f5-f5cd-4f23-b280-b1a14e58727c
Screen Reader no
VM 0%
Extensions (1)
Extension Author (truncated) Version
vscode-language-pack-zh-hans MS- 1.104.2025091009
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
996jf627:31283433
pythonrdcb7:31342333
usemplatestapi:31297334
6518g693:31334701
aj953862:31281341
nesew2to5:31336538
cs4_fixed:31388788
nes-set-on:31351930
6abeh943:31336334
0927b901:31350571
ovs_c:31383294
aa_t:31379598
0cj2b977:31352657
gendocstringf:31387973
0574c672:31362109
cloudbuttont:31379625
todos-1:31384886
codex-prompt:31370221
multireplacestringcontrol:31387919
control_gpt5applypatchexclusively:31387916
3efgi100_wstrepl:31382709
metis-embeddings:31388492
trigger-command-fix:31379601
auto_model_enabled:31385282
gemagent1cf:31387341

Additional information

Metadata

Metadata

Labels

bugIssue identified by VS Code Team member as probable bugregressionSomething that used to work is now brokenterminal-shell-pwshAn issue in the terminal specific to PowerShell, including shell integrationverifiedVerification succeeded

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions