-
Notifications
You must be signed in to change notification settings - Fork 513
Command decoration indicates success (blue dot) if the command failed (exit code > 0) #4854
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
Command decoration indicates success (blue dot) if the command failed (exit code > 0) #4854
Comments
@Tyriar hm, any change recently to the escape codes used by shell integration? I'll do a diff here soon and update what's embedded in PSES. I wonder if this is probably us having an extra |
The only recent change I can think of is the introduction of a nonce to verify the command name. This is optional and should not affect the exit code though |
Hope this helps: |
@insaneinvader that helps a lot actually, thank you! Looking at this now. |
Yup, figured it out. We broke it when we added |
Prerequisites
Summary
It appears that the PowerShell extension confuses VSCode terminal decorations.
Left - using VSCode integrated PowerShell terminal - a red dot appears to indicate that the command failed.

Right - using PowerShell Extension terminal - a blue dot appears to indicate that the failed command was successful.
PowerShell Version
Visual Studio Code Version
Extension Version
[email protected]
Steps to Reproduce
Execute
throw "foo"
Visuals
No response
Logs
No response
The text was updated successfully, but these errors were encountered: