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

Guard $IsWindows #190192

Merged
merged 2 commits into from Aug 14, 2023
Merged

Guard $IsWindows #190192

merged 2 commits into from Aug 14, 2023

Conversation

andyleejordan
Copy link
Member

So it works with PowerShell 5.1.

Probably resolves #190103. I just edited in the browser so haven't tested...

So it works with PowerShell 5.1.
@andyleejordan
Copy link
Member Author

@meganrogge @Tyriar how would I go about checking that the escape sequence is now being emitted correctly?

@Tyriar
Copy link
Member

Tyriar commented Aug 11, 2023

@andyleejordan set log level to trace then open Output > Terminal. You should see this when you create a terminal:

image

@Tyriar Tyriar added this to the August 2023 milestone Aug 11, 2023
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.

I confirmed it works 👍

@Tyriar Tyriar merged commit 62fcea0 into microsoft:main Aug 14, 2023
6 checks passed
@andyleejordan andyleejordan deleted the andyleejordan/iswindows branch August 14, 2023 16:08
@github-actions github-actions bot locked and limited conversation to collaborators Sep 28, 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.

Shell integration with PowerShell 5.1 breaks with $ErrorActionPreference = 'stop'
5 participants