microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.93k stars 28.77k forks source link

Terminal input glitching #225232

Closed nicolanapa closed 1 month ago

nicolanapa commented 1 month ago

Type: Bug

Since a few days when I type in the terminal it starts to glitch out the text It doubles sometimes the text and then goes on a new line (can't explain it well) And other times it doesn't show the right text position

Here's an example:

git add src/tests/fetchProduct.test.js && git commit -m "Added initial test to test if it fetches correctly a Product"   ectly a Product"

[development 509faf1] Added initial test to test if it fetches correctly a Product
 1 file changed, 5 insertions(+)

VS Code version: Code - Insiders 1.93.0-insider (4693ac3d4dce852b747d08d4bc54db5e35afe268, 2024-08-09T06:29:39.564Z) OS version: Windows_NT x64 10.0.22631 Modes:

System Info |Item|Value| |---|---| |CPUs|AMD Ryzen 7 7800X3D 8-Core Processor (16 x 4192)| |GPU Status|2d_canvas: enabled
canvas_oop_rasterization: enabled_on
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
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off| |Load (avg)|undefined| |Memory (System)|31.65GB (23.21GB free)| |Process Argv|| |Screen Reader|no| |VM|0%|
Extensions (10) Extension|Author (truncated)|Version ---|---|--- vscode-eslint|dba|3.0.10 prettier-vscode|esb|10.4.0 vscode-language-pack-it|MS-|1.92.2024080709 remote-ssh|ms-|0.113.1 remote-ssh-edit|ms-|0.86.0 remote-explorer|ms-|0.4.3 material-icon-theme|PKi|5.8.0 open-in-browser|tec|2.0.0 intellicode-api-usage-examples|Vis|0.2.8 vscodeintellicode|Vis|1.3.1
meganrogge commented 1 month ago

pls provide a gif

nicolanapa commented 1 month ago

pls provide a gif

Recording 2024-08-09 at 17 25 07

Recording 2024-08-09 at 17 20 48

Here's two glitches I've managed to get

nicolanapa commented 1 month ago

Recording 2024-08-10 at 10 17 17

Here's the first glitch I mentioned. One temporary fix I found is to close and reopen the terminal

Tyriar commented 1 month ago

Should be fixed by https://github.com/microsoft/node-pty/pull/703 / https://github.com/microsoft/vscode/pull/225266