-
Notifications
You must be signed in to change notification settings - Fork 498
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
Unexpected characters in VSCode PS Integrated shell commands #2637
Unexpected characters in VSCode PS Integrated shell commands #2637
Comments
Hi @ZZStoner I'm having trouble repro'ing this. Can you comment out everything in your |
Ah this is the new prediction feature in PSReadLine. @daxian-dbw can you take a look at this? |
This indicates that the VT100 escape sequences are not correctly handled by the VS Code terminal. |
I am also experiencing this same garbage text. Downgraded to v2020.3.0 and all is well.
|
If the terminal is printing then the terminal is likely not getting the escape character. You can check exactly when the terminal gets by following this https://github.com/microsoft/vscode/wiki/Terminal-Issues#enabling-escape-sequence-logging |
To follow up, I am also using Windows 2012 R2. |
Just to get you unblocked... you can remove this folder:
If your console doesn't give you syntax highlighting, simply reinstall PSReadLine the normal way: Install-Module PSReadLine -Force -AllowClobber |
Thanks. The workaround unblocked me. |
I have had the same issue and the workaround worked for me too. |
Install-Module : A parameter cannot be found that matches parameter name 'AllowClober'. Serves me right for copy-pasting code from a forum thread 🤣 |
Issue Description
After upgrading the PS Extension in VS Code to 2020.4.0, I noticed the PS Integrated Shell showing garbage characters when trying to type any commands.
Example showing strange extra characters after only typing
dir
:Attached Logs
Follow the instructions in the README about
capturing and sending logs.
Environment Information
Visual Studio Code
PowerShell Information
Visual Studio Code Extensions
Visual Studio Code Extensions(Click to Expand)
The text was updated successfully, but these errors were encountered: