microsoft / vscode

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

ANSI escape sequences showing up in integrated terminal after 1.90 update #214467

Closed alexclarkmusa closed 5 months ago

alexclarkmusa commented 5 months ago

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

Steps to Reproduce:

  1. Open the integrated terminal to a powershell prompt
  2. Behold the array of \x nonsense that appears:

image

Tried a Git Bash terminal and it works fine; so far it only seems to be Powershell.

I tried removing any custom settings relating to the terminal (e.g. terminal.integrated.gpuAcceleration) inside my Code\User\Settings.json file but to no avail.

Tried rebooting but it did not fix anything.

To be clear, this issue only exists in the VSCode integrated terminal, not in the regular Windows Terminal for Powershell (or any other) instances.

Some additional info. Calling $PSVersionTable from within VSCode gives me this: image

OS: image

vscodenpa commented 5 months ago

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.90.0. Please try upgrading to the latest version and checking whether this issue remains.

Happy Coding!

alexclarkmusa commented 5 months ago

Updated to include the .revision part of the version number as the triage bot was confused. This issue only occurred after updating to the very latest version of VSCode.

christofjans commented 5 months ago

I am experiencing the exact same problem. Only started happening after updating to 1.90.0. On multiple machines.

meganrogge commented 5 months ago

/duplicate https://github.com/microsoft/vscode/issues/211922

Feehh32 commented 5 months ago

i experienced same problem here, but for me it's happened on bash to.

d-sanderson commented 5 months ago

I am experiencing this problem also specifically in the integrated terminal with powershell. Opening outside of vscode works fine.