Skip to content

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

Merged
Tyriar merged 2 commits intomicrosoft:mainfrom
rwe:shellint-no-decode-iterm2
Nov 23, 2022
Merged

shellIntegrationAddon.ts: only decode messages for VSCodeOScPt, not iTerm2#165579
Tyriar merged 2 commits intomicrosoft:mainfrom
rwe:shellint-no-decode-iterm2

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

@rwe rwe force-pushed the shellint-no-decode-iterm2 branch from 5b03427 to 3e49113 Compare November 6, 2022 21:55
@rwe rwe force-pushed the shellint-no-decode-iterm2 branch from 3e49113 to 709af80 Compare November 14, 2022 21:32
@rwe rwe force-pushed the shellint-no-decode-iterm2 branch from 709af80 to 78b1361 Compare November 15, 2022 23:16
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 enabled auto-merge November 23, 2022 17:31
@Tyriar Tyriar disabled auto-merge November 23, 2022 17:31
@Tyriar Tyriar enabled auto-merge November 23, 2022 17:42
@Tyriar Tyriar merged commit 33671e4 into microsoft:main Nov 23, 2022
@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.

4 participants