Skip to content
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

shellIntegrationAddon.ts: only decode messages for VSCodeOScPt, not iTerm2 #165579

Merged
merged 2 commits into from Nov 23, 2022

Conversation

rwe
Copy link
Contributor

@rwe rwe commented Nov 5, 2022

Unlike VSCodeOscPt.Property, the iTerm2 OSC sequences do not support backslash or hex-escape sequences. Interpretation of those messages should not attempt evaluation of those escapes.

See: https://github.com/gnachman/iTerm2/blob/bb0882332cec5196e4de4a4225978d746e935279/sources/VT100Terminal.m#L2089-L2105

Tyriar
Tyriar approved these changes Nov 23, 2022
Copy link
Member

@Tyriar Tyriar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @rwe

@Tyriar Tyriar added this to the November 2022 milestone Nov 23, 2022
@Tyriar Tyriar merged commit 33671e4 into microsoft:main Nov 23, 2022
6 checks passed
@rwe rwe deleted the shellint-no-decode-iterm2 branch November 23, 2022 18:18
@github-actions github-actions bot locked and limited conversation to collaborators Jan 7, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants