简体   繁体   中英

Visual Studio Code PowerShell Terminal Ansi Characters

A few days ago Visual Studio Code Powershell terminal started displaying ansi characters in the path. This does not happen for bash or cmd terminal.

633;A633;P;Cwd=C\x3a\\Temp\\barry\\repo\\x2dcloud\x2dapplication\x2dpocsPS C:\Temp\barry\repo\cloud-application-pocs> 633;B

This is very wierd. Someone provided a link that answered this question a few hours ago. The info in the link fixed the problem. Then someone wrote a commit that the user need to provide a better answer. Then the user deleted the answer!

So I am putting the answer back. setting terminal.integrated.shellIntegration.enabled to false should fix this

for more info see: https://github.com/microsoft/vscode/issues/160419

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM