Harden shell integration handlers in renderer to handle multiple start sequences (A, B) properly #151228
Labels
bug
Issue identified by VS Code Team member as probable bug
insiders-released
Patch has been released in VS Code Insiders
terminal-shell-integration
Shell integration infrastructure, command decorations, etc.
verified
Verification succeeded
Milestone
A reason the smoke tests were failing was because bash plain PS1 prompt support was lacking #150478
What ended up happening is the PS1/PS2 would continually get wrapped in our sequences so multiple A and B shell integration sequences would come through, the renderer handled that by creating a new decoration for each one. We should harden the shell integration code to make sure we handle this case by using the latest sequence.
The text was updated successfully, but these errors were encountered: