New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PowerShell 7.2.6 output weird text in console and beeps #160419
Comments
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.71.0. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding! |
I cannot install 1.71.0 because I'm on Windows 7 and support of Windows 7 was dropped in 1.71.0 |
setting |
Thank you!!! That works! |
Looks like this is Windows 7, so I don't think shell integration works using winpty. Reopening as we should disallow shell integration injection when conpty is not being used. |
What is the best way to verify this? |
This is probably best to do via an extra code review. If you have access to a Windows 7 machine, you can enable the shell integration setting, open pwsh and make sure the sequences don't show up. |
But how to do that on Windows 7 considering that VSCode is no longer updated on Windows 7? |
@Mingun good point, Windows 8 or a old version of Windows 10 would also work. Any version before we support conpty (>= build 18309) |
ممكن حل |
Type: Bug
This question describes situation. After my PC hung and rebooted the VSCode suddenly starts output weird text in integrated terminal and beep each time when command is started/ended. The output looks like:
I tried all suggested anwsers on SO, restarting VSCode after each attempt, but nothing worked:
terminal.integrated.windowsEnableConpty
istrue
. I tries to set it tofalse
When I run
pwsh.exe
, none of that weird text appeared. I have nothing of those files:VS Code version: Code 1.70.3 (a21a160, 2022-08-31T08:03:55.990Z)
OS version: Windows_NT x64 6.1.7601
Modes:
System Info
canvas_oop_rasterization: disabled_off
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_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Extensions (37)
A/B Experiments
The text was updated successfully, but these errors were encountered: