Exit segment no longer working? #3490
|
Here's my exit segment in my custom OMP theme file which I'm using only in VS Code 1.75.1 on macOS 13.1. The problem seems to happen ONLY in VS Code using the PowerShell Integrated Terminal. If I run it in a standard pwsh terminal then it works as expected. The logic is based on the default(?) exit segment but I've modified it to only show an error status if the previous command returned an error status. (I believe this is done by setting However the last few weeks, this has stopped working and the segment never shows an error. I put in this line of code Here it is NOT working: So I guess the question is why does it work in a "standard" pwsh terminal but not in VS Code's PowerShell extension terminal? Lastly, how do I get VS Code to respect the text colour (white, like in the first screenshot) as per the theme config? I've noticed that the text only turns white when I use a very dark background. Changing the VS Code theme to a light theme doesn't seem to have any effect. |


@kamfaima you probably have shell integrations enabled for vscode which is what influences this negatively. That's a bug on their end, and known if I'm not mistaken. About the color, that's a bug in vscode's terminal.