René's URL Explorer Experiment


Title: Re-enable VT mode on Windows after running command in ConsoleHost by SteveL-MSFT · Pull Request #14413 · PowerShell/PowerShell · GitHub

Open Graph Title: Re-enable VT mode on Windows after running command in ConsoleHost by SteveL-MSFT · Pull Request #14413 · PowerShell/PowerShell

X Title: Re-enable VT mode on Windows after running command in ConsoleHost by SteveL-MSFT · Pull Request #14413 · PowerShell/PowerShell

Description: PowerShell for every system! Contribute to PowerShell/PowerShell development by creating an account on GitHub.

Open Graph Description: PR Summary On Windows, some popular native commands (like those shipped with Git) will disable console VT mode and doesn't set it back upon execution. When the prompt comes back, you see escap...

X Description: PR Summary On Windows, some popular native commands (like those shipped with Git) will disable console VT mode and doesn't set it back upon execution. When the prompt comes back, you see e...

Opengraph URL: https://github.com/PowerShell/PowerShell/pull/14413

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:37814098-b96a-f9ec-50b4-c1db197b6a2a
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idC382:133DB7:798419:A1D077:6A51A72F
html-safe-nonce4f6c66a6201601f5799b6c04231dea67f1c0c4b43d8d3e37ce044bff6f04d4a4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDMzgyOjEzM0RCNzo3OTg0MTk6QTFEMDc3OjZBNTFBNzJGIiwidmlzaXRvcl9pZCI6IjE2MzQyMjk2ODkyMDI2MTYxMTEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac4a4bc4afc7aaf5df7c320f045852a26f069e560110ff7422ec042d0154a539eb
hovercard-subject-tagpull_request:539607784
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/PowerShell/PowerShell/14413/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/28f1e94c1c7c645b9116c2a5b8fdd5bb1669d993eca3d13e59e8e30b8e33e990/PowerShell/PowerShell/pull/14413
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/28f1e94c1c7c645b9116c2a5b8fdd5bb1669d993eca3d13e59e8e30b8e33e990/PowerShell/PowerShell/pull/14413
og:image:altPR Summary On Windows, some popular native commands (like those shipped with Git) will disable console VT mode and doesn't set it back upon execution. When the prompt comes back, you see escap...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSteveL-MSFT
hostnamegithub.com
expected-hostnamegithub.com
Noneb9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb
turbo-cache-controlno-cache
go-importgithub.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git
octolytics-dimension-user_id11524380
octolytics-dimension-user_loginPowerShell
octolytics-dimension-repository_id49609581
octolytics-dimension-repository_nwoPowerShell/PowerShell
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id49609581
octolytics-dimension-repository_network_root_nwoPowerShell/PowerShell
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release7aed05249554b889eb33d002851a973eebcc7e91
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/14413#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F14413
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F14413
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=PowerShell%2FPowerShell
Reloadhttps://github.com/PowerShell/PowerShell/pull/14413
Reloadhttps://github.com/PowerShell/PowerShell/pull/14413
Reloadhttps://github.com/PowerShell/PowerShell/pull/14413
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14413
PowerShell https://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Notifications https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Fork 8.4k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Star 54.3k https://github.com/login?return_to=%2FPowerShell%2FPowerShell
Code https://github.com/PowerShell/PowerShell
Issues 1.3k https://github.com/PowerShell/PowerShell/issues
Pull requests 285 https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality 3 https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
Code https://github.com/PowerShell/PowerShell
Issues https://github.com/PowerShell/PowerShell/issues
Pull requests https://github.com/PowerShell/PowerShell/pulls
Discussions https://github.com/PowerShell/PowerShell/discussions
Actions https://github.com/PowerShell/PowerShell/actions
Projects https://github.com/PowerShell/PowerShell/projects
Security and quality https://github.com/PowerShell/PowerShell/security
Insights https://github.com/PowerShell/PowerShell/pulse
anmenagahttps://github.com/anmenaga
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:reset-vthttps://github.com/SteveL-MSFT/PowerShell/tree/reset-vt
Conversationhttps://github.com/PowerShell/PowerShell/pull/14413
Commits1 (1)https://github.com/PowerShell/PowerShell/pull/14413/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/14413/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/14413/files
Re-enable VT mode on Windows after running command in ConsoleHosthttps://github.com/PowerShell/PowerShell/pull/14413#top
anmenagahttps://github.com/anmenaga
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:reset-vthttps://github.com/SteveL-MSFT/PowerShell/tree/reset-vt
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
Dec 14, 2020https://github.com/PowerShell/PowerShell/pull/14413#issue-766647190
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14413
#14360https://github.com/PowerShell/PowerShell/issues/14360
PR has a meaningful titlehttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Summarized changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright headerhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Work in Progresshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---work-in-progress
Breaking changeshttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#making-breaking-changes
Experimental feature(s) neededhttps://github.com/MicrosoftDocs/PowerShell-Docs/blob/staging/reference/6/Microsoft.PowerShell.Core/About/about_Experimental_Features.md
Documentation neededhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#pull-request---submission
Make sure you've added a new test if existing tests do not effectively test the code changedhttps://github.com/PowerShell/PowerShell/blob/master/.github/CONTRIBUTING.md#before-submitting
PowerShell Editor Serviceshttps://github.com/PowerShell/PowerShellEditorServices
PowerShell extensionhttps://github.com/PowerShell/vscode-powershell
PSScriptAnalyzerhttps://github.com/PowerShell/PSScriptAnalyzer
EditorSyntaxhttps://github.com/PowerShell/EditorSyntax
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14413
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
anmenagahttps://github.com/anmenaga
daxian-dbwhttps://github.com/daxian-dbw
code ownershttps://github.com/PowerShell/PowerShell/blob/41cfc4e429aad931fca15e5f6932b5149a1655ca/.github/CODEOWNERS#L36
December 14, 2020 15:51https://github.com/PowerShell/PowerShell/pull/14413#event-4109991089
anmenagahttps://github.com/anmenaga
Dec 14, 2020https://github.com/PowerShell/PowerShell/pull/14413#event-4109991240
https://github.com/rkeithhill
rkeithhillhttps://github.com/rkeithhill
Dec 16, 2020 https://github.com/PowerShell/PowerShell/pull/14413#ref-issue-621847532
Prompt only renders in ansi dahlbyk/posh-git#771 https://github.com/dahlbyk/posh-git/issues/771
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
Dec 16, 2020https://github.com/PowerShell/PowerShell/pull/14413#event-4118274790
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
Backport-7.2.x-Consider https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.2.x-Consider
Dec 16, 2020https://github.com/PowerShell/PowerShell/pull/14413#event-4122310211
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
Dec 17, 2020 https://github.com/PowerShell/PowerShell/pull/14413#pullrequestreview-554287107
View reviewed changes https://github.com/PowerShell/PowerShell/pull/14413/files
src/Microsoft.PowerShell.ConsoleHost/host/msh/ConsoleHostUserInterface.cshttps://github.com/PowerShell/PowerShell/pull/14413/files#diff-92871f978502aaad47eeb874182e939744fe7bc8318413c92393e52b6d484d0e
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14413
Review - Needed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22
Dec 24, 2020https://github.com/PowerShell/PowerShell/pull/14413#event-4147511409
https://github.com/ghost
ghosthttps://github.com/ghost
Dec 24, 2020https://github.com/PowerShell/PowerShell/pull/14413#issuecomment-750890941
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14413
https://github.com/Steg17
Steg17https://github.com/Steg17
Feb 4, 2021 https://github.com/PowerShell/PowerShell/pull/14413#pullrequestreview-583885979
View reviewed changes https://github.com/PowerShell/PowerShell/pull/14413/files
https://github.com/drichardson
drichardsonhttps://github.com/drichardson
Feb 26, 2021https://github.com/PowerShell/PowerShell/pull/14413#issuecomment-786857410
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14413
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14413
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
force-pushedhttps://github.com/PowerShell/PowerShell/compare/80619c593a723bda395bed1ffedf7a8096e9a358..d5f526a300b09831b6b0a226289d81a9d9ecadbf
80619c5https://github.com/PowerShell/PowerShell/commit/80619c593a723bda395bed1ffedf7a8096e9a358
d5f526ahttps://github.com/PowerShell/PowerShell/commit/d5f526a300b09831b6b0a226289d81a9d9ecadbf
Compare https://github.com/PowerShell/PowerShell/compare/80619c593a723bda395bed1ffedf7a8096e9a358..d5f526a300b09831b6b0a226289d81a9d9ecadbf
March 6, 2021 01:47https://github.com/PowerShell/PowerShell/pull/14413#event-4416358276
https://github.com/SteveL-MSFT
Re-enable VT mode on Windows after running command in ConsoleHosthttps://github.com/PowerShell/PowerShell/pull/14413/commits/df3f05708785deef351b6d02c5bef9e490fe02f3
df3f057https://github.com/PowerShell/PowerShell/pull/14413/commits/df3f05708785deef351b6d02c5bef9e490fe02f3
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
force-pushedhttps://github.com/PowerShell/PowerShell/compare/d5f526a300b09831b6b0a226289d81a9d9ecadbf..df3f05708785deef351b6d02c5bef9e490fe02f3
d5f526ahttps://github.com/PowerShell/PowerShell/commit/d5f526a300b09831b6b0a226289d81a9d9ecadbf
df3f057https://github.com/PowerShell/PowerShell/commit/df3f05708785deef351b6d02c5bef9e490fe02f3
Compare https://github.com/PowerShell/PowerShell/compare/d5f526a300b09831b6b0a226289d81a9d9ecadbf..df3f05708785deef351b6d02c5bef9e490fe02f3
March 6, 2021 01:48https://github.com/PowerShell/PowerShell/pull/14413#event-4416359280
https://github.com/anmenaga
anmenagahttps://github.com/anmenaga
Mar 10, 2021 https://github.com/PowerShell/PowerShell/pull/14413#pullrequestreview-608217976
View reviewed changes https://github.com/PowerShell/PowerShell/pull/14413/files/df3f05708785deef351b6d02c5bef9e490fe02f3
anmenagahttps://github.com/anmenaga
https://github.com/PowerShell/PowerShell/pull/14413#pullrequestreview-608217976
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14413
https://github.com/anmenaga
anmenagahttps://github.com/anmenaga
Review - Needed https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Review%20-%20Needed%22
Mar 10, 2021https://github.com/PowerShell/PowerShell/pull/14413#event-4432267066
https://github.com/anmenaga
anmenagahttps://github.com/anmenaga
cbd97d0https://github.com/PowerShell/PowerShell/commit/cbd97d0cab383e90154d8dbdda71027f1205de5a
Mar 10, 2021https://github.com/PowerShell/PowerShell/pull/14413#event-4432267675
https://github.com/iSazonov
iSazonovhttps://github.com/iSazonov
7.2.0-preview.4https://github.com/PowerShell/PowerShell/milestone/105
Mar 10, 2021https://github.com/PowerShell/PowerShell/pull/14413#event-4433483892
https://github.com/SteveL-MSFT
SteveL-MSFThttps://github.com/SteveL-MSFT
March 10, 2021 22:51https://github.com/PowerShell/PowerShell/pull/14413#event-4439759205
https://github.com/ghost
ghosthttps://github.com/ghost
Mar 16, 2021https://github.com/PowerShell/PowerShell/pull/14413#issuecomment-800684251
Release Noteshttps://github.com/PowerShell/PowerShell/releases/tag/v7.2.0-preview.4
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14413
Mar 16, 2021 https://github.com/PowerShell/PowerShell/pull/14413#ref-issue-760564445
ANSI escape codes in prompt incorrectly rendered in some cases #14360 https://github.com/PowerShell/PowerShell/issues/14360
https://github.com/adityapatwardhan
adityapatwardhanhttps://github.com/adityapatwardhan
Backport-7.2.x-Consider https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.2.x-Consider
Sep 15, 2021https://github.com/PowerShell/PowerShell/pull/14413#event-5307820945
https://github.com/daxian-dbw
daxian-dbwhttps://github.com/daxian-dbw
Dec 13, 2021 https://github.com/PowerShell/PowerShell/pull/14413#ref-pullrequest-1079114978
Use NotifyEndApplication to re-enable VT mode instead of doing it in InputLoop.Run #16612 https://github.com/PowerShell/PowerShell/pull/16612
https://github.com/PatTheMav
PatTheMavhttps://github.com/PatTheMav
Jan 20, 2022 https://github.com/PowerShell/PowerShell/pull/14413#ref-issue-1108738750
Redirection of external command output breaks ANSI sequences #16775 https://github.com/PowerShell/PowerShell/issues/16775
https://github.co/hiddenchars
https://github.com/PowerShell/PowerShell/pull/{{ revealButtonHref }}
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F14413
https://github.com/iSazonov
iSazonov https://github.com/iSazonov
https://github.com/PowerShell/PowerShell/pull/14413/files/80619c593a723bda395bed1ffedf7a8096e9a358
https://github.com/daxian-dbw
daxian-dbw https://github.com/daxian-dbw
https://github.com/anmenaga
anmenaga https://github.com/anmenaga
https://github.com/PowerShell/PowerShell/pull/14413/files/df3f05708785deef351b6d02c5bef9e490fe02f3
https://github.com/Steg17
Steg17 https://github.com/Steg17
https://github.com/PowerShell/PowerShell/pull/14413/files/80619c593a723bda395bed1ffedf7a8096e9a358
https://github.com/anmenaga
anmenaga https://github.com/anmenaga
CL-General https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ACL-General
7.2.0-preview.4 https://github.com/PowerShell/PowerShell/milestone/105
ANSI escape codes in prompt incorrectly rendered in some cases https://github.com/PowerShell/PowerShell/issues/14360
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/14413
https://github.com/SteveL-MSFT
https://github.com/drichardson
https://github.com/anmenaga
https://github.com/iSazonov
https://github.com/Steg17
https://github.com/adityapatwardhan
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.