René's URL Explorer Experiment


Title: Ensure error message resets the color by SteveL-MSFT · Pull Request #17904 · PowerShell/PowerShell · GitHub

Open Graph Title: Ensure error message resets the color by SteveL-MSFT · Pull Request #17904 · PowerShell/PowerShell

X Title: Ensure error message resets the color by SteveL-MSFT · Pull Request #17904 · PowerShell/PowerShell

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

Open Graph Description: PR Summary Prior to this change, after writing the error message if your prompt doesn't set any colors, the error color (default red) would continue to write to output. Looked at changing it so...

X Description: PR Summary Prior to this change, after writing the error message if your prompt doesn't set any colors, the error color (default red) would continue to write to output. Looked at changing i...

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

X: @github

direct link

Domain: github.com

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
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:4132a450-3b65-5d9c-cc09-97dec5471794
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-id9358:28836A:1A5E53:24A5F4:6AFD8E73
html-safe-nonce7ad8c2846ca6ffb7b6f6fdc61de8cebabc0145181a00f8c8b2f6c598c6631baa
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MzU4OjI4ODM2QToxQTVFNTM6MjRBNUY0OjZBRkQ4RTczIiwidmlzaXRvcl9pZCI6IjgxNTIzMTU4NzQ4Nzk4MzU3NjMiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac606cee3ce64b0ccc961612bfbaf533121795869618f2913d8ff44c92ad44de0a
hovercard-subject-tagpull_request:1026877764
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/17904/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/741eaa6341e9be2e362f77926e9378eeeff0d83e675f0669e75731251be5393f/PowerShell/PowerShell/pull/17904
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/741eaa6341e9be2e362f77926e9378eeeff0d83e675f0669e75731251be5393f/PowerShell/PowerShell/pull/17904
og:image:altPR Summary Prior to this change, after writing the error message if your prompt doesn't set any colors, the error color (default red) would continue to write to output. Looked at changing it so...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameSteveL-MSFT
hostnamegithub.com
expected-hostnamegithub.com
Nonebc86424ef34a73b386237872800e922d149d65ba907f63d6f150a2dcb8433bea
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
release927a6c5ab1c32b38830f1b9d3050c0b9e9aa92e1
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-namepull-requests

Links:

Skip to contenthttps://github.com/PowerShell/PowerShell/pull/17904#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F17904
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FPowerShell%2FPowerShell%2Fpull%2F17904
Sign uphttps://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/17904
Reloadhttps://github.com/PowerShell/PowerShell/pull/17904
Reloadhttps://github.com/PowerShell/PowerShell/pull/17904
PowerShellhttps://github.com/PowerShell
PowerShellhttps://github.com/PowerShell/PowerShell
Codehttps://github.com/PowerShell/PowerShell
Issues1.3k (1.3k)https://github.com/PowerShell/PowerShell/issues
Pull requests366 (366)https://github.com/PowerShell/PowerShell/pulls
Discussionshttps://github.com/PowerShell/PowerShell/discussions
Actionshttps://github.com/PowerShell/PowerShell/actions
Projectshttps://github.com/PowerShell/PowerShell/projects
Security and quality3 (3)https://github.com/PowerShell/PowerShell/security
Insightshttps://github.com/PowerShell/PowerShell/insights
https://github.com/PowerShell/PowerShell
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:color-exithttps://github.com/SteveL-MSFT/PowerShell/tree/color-exit
Conversationhttps://github.com/PowerShell/PowerShell/pull/17904
Commits2 (2)https://github.com/PowerShell/PowerShell/pull/17904/commits
Checkshttps://github.com/PowerShell/PowerShell/pull/17904/checks
Files changedhttps://github.com/PowerShell/PowerShell/pull/17904/files
Ensure error message resets the colorhttps://github.com/PowerShell/PowerShell/pull/17904#top
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
PowerShell:masterhttps://github.com/PowerShell/PowerShell/tree/master
SteveL-MSFT:color-exithttps://github.com/SteveL-MSFT/PowerShell/tree/color-exit
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Aug 15, 2022https://github.com/PowerShell/PowerShell/pull/17904#issue-1339499018
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
#17885https://github.com/PowerShell/PowerShell/issues/17885
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/main/reference/7.3/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/17904
https://github.com/SteveL-MSFT
Ensure error message resets the colorhttps://github.com/PowerShell/PowerShell/pull/17904/commits/8e46975bf4c7e89971873c0c35fba75368c99a58
8e46975https://github.com/PowerShell/PowerShell/pull/17904/commits/8e46975bf4c7e89971873c0c35fba75368c99a58
https://github.com/apps/pull-request-quantifier-deprecated
pull-request-quantifier-deprecatedhttps://github.com/apps/pull-request-quantifier-deprecated
Extra Small https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Extra%20Small%22
Aug 15, 2022https://github.com/PowerShell/PowerShell/pull/17904#event-7191572378
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 15, 2022https://github.com/PowerShell/PowerShell/pull/17904#event-7191572554
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Backport-7.2.x-Consider https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.2.x-Consider
Aug 15, 2022https://github.com/PowerShell/PowerShell/pull/17904#event-7191574777
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
7.3-Considerhttps://github.com/PowerShell/PowerShell/milestone/103
Aug 15, 2022https://github.com/PowerShell/PowerShell/pull/17904#event-7191575362
7.3-Considerhttps://github.com/PowerShell/PowerShell/milestone/103
Aug 15, 2022https://github.com/PowerShell/PowerShell/pull/17904#event-7191576442
https://github.com/ghost
Deleted user (ghost)https://github.com/ghost
Aug 15, 2022https://github.com/PowerShell/PowerShell/pull/17904#issuecomment-1215784395
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 17, 2022 https://github.com/PowerShell/PowerShell/pull/17904#pullrequestreview-1076510536
View reviewed changes https://github.com/PowerShell/PowerShell/pull/17904/files/8e46975bf4c7e89971873c0c35fba75368c99a58
...stem.Management.Automation/FormatAndOutput/DefaultFormatters/PowerShellCore_format_ps1xml.cshttps://github.com/PowerShell/PowerShell/pull/17904/files/8e46975bf4c7e89971873c0c35fba75368c99a58#diff-39fb360fcf23e4c90d8607bdd51c4e04e8b5db6d14e187e16a10c84f2ae241c1
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
https://github.com/SteveL-MSFT
Fix to handle case where VT isn't supportedhttps://github.com/PowerShell/PowerShell/pull/17904/commits/c80e3846742a8c205d81aef9091532f492fffdaf
c80e384https://github.com/PowerShell/PowerShell/pull/17904/commits/c80e3846742a8c205d81aef9091532f492fffdaf
https://github.com/apps/pull-request-quantifier-deprecated
pull-request-quantifier-deprecatedhttps://github.com/apps/pull-request-quantifier-deprecated
Aug 18, 2022https://github.com/PowerShell/PowerShell/pull/17904#issuecomment-1219720956
https://camo.githubusercontent.com/c2d250693fe744096da7142f95df83f1928da179b9530046756e8b8725b0e186/68747470733a2f2f696d672e736869656c64732e696f2f7374617469632f76313f6c6162656c3d5175616e746966696564266d6573736167653d4578747261253230536d616c6c26636f6c6f723d677265656e
PullRequestQuantifier customizationshttps://github.com/microsoft/PullRequestQuantifier/blob/main/docs/prquantifier-yaml.md
context generatorhttps://github.com/microsoft/PullRequestQuantifier/releases
see context specificationhttps://github.com/PowerShell/PowerShell/pull/docs/prquantifier-yaml.md
👍https://pullrequestquantifierfeedback.azurewebsites.net/feedback?payload=eyJBdXRob3JOYW1lIjoiU3RldmVMLU1TRlQiLCJSZXBvc2l0b3J5TGluayI6Imh0dHBzOi8vZ2l0aHViLmNvbS9Qb3dlclNoZWxsL1Bvd2VyU2hlbGwiLCJQdWxsUmVxdWVzdExpbmsiOiJodHRwczovL2dpdGh1Yi5jb20vUG93ZXJTaGVsbC9Qb3dlclNoZWxsL3B1bGwvMTc5MDQiLCJFdmVudFR5cGUiOiJUaHVtYnNVcCJ9&anonymous=True
 :ok_hand:https://pullrequestquantifierfeedback.azurewebsites.net/feedback?payload=eyJBdXRob3JOYW1lIjoiU3RldmVMLU1TRlQiLCJSZXBvc2l0b3J5TGluayI6Imh0dHBzOi8vZ2l0aHViLmNvbS9Qb3dlclNoZWxsL1Bvd2VyU2hlbGwiLCJQdWxsUmVxdWVzdExpbmsiOiJodHRwczovL2dpdGh1Yi5jb20vUG93ZXJTaGVsbC9Qb3dlclNoZWxsL3B1bGwvMTc5MDQiLCJFdmVudFR5cGUiOiJOZXV0cmFsIn0=&anonymous=True
 :thumbsdown:https://pullrequestquantifierfeedback.azurewebsites.net/feedback?payload=eyJBdXRob3JOYW1lIjoiU3RldmVMLU1TRlQiLCJSZXBvc2l0b3J5TGluayI6Imh0dHBzOi8vZ2l0aHViLmNvbS9Qb3dlclNoZWxsL1Bvd2VyU2hlbGwiLCJQdWxsUmVxdWVzdExpbmsiOiJodHRwczovL2dpdGh1Yi5jb20vUG93ZXJTaGVsbC9Qb3dlclNoZWxsL3B1bGwvMTc5MDQiLCJFdmVudFR5cGUiOiJUaHVtYnNEb3duIn0=&anonymous=True
EmailMAILTO:prquantifier@microsoft.com
Customize PullRequestQuantifierhttps://github.com/PowerShell/PowerShell/blob/master/.github/prquantifier.yaml
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 18, 2022https://github.com/PowerShell/PowerShell/pull/17904#issuecomment-1219794747
https://user-images.githubusercontent.com/127450/185465439-fc27f2e4-65c9-4aef-80e3-58e733536827.gif
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 18, 2022https://github.com/PowerShell/PowerShell/pull/17904#issuecomment-1219800238
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 18, 2022https://github.com/PowerShell/PowerShell/pull/17904#issuecomment-1219869424
in the dochttps://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.core/about/about_ansi_terminals#:~:text=FromRgb(0xf5f5dc)-,%24PSStyle.,It%20replaces%20%24Host.
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
WG-Interactive-Console https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AWG-Interactive-Console
Aug 18, 2022https://github.com/PowerShell/PowerShell/pull/17904#event-7217185459
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Aug 18, 2022https://github.com/PowerShell/PowerShell/pull/17904#issuecomment-1219896064
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
Dongbo Wang (@daxian-dbw)https://github.com/daxian-dbw
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 18, 2022https://github.com/PowerShell/PowerShell/pull/17904#issuecomment-1219959324
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
https://github.com/SteveL-MSFT
Steve Lee (SteveL-MSFT)https://github.com/SteveL-MSFT
Aug 22, 2022https://github.com/PowerShell/PowerShell/pull/17904#issuecomment-1222586855
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 26, 2022https://github.com/PowerShell/PowerShell/pull/17904#issuecomment-1229031246
#17886 (comment)https://github.com/PowerShell/PowerShell/issues/17886#issuecomment-1229015174
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 29, 2022https://github.com/PowerShell/PowerShell/pull/17904#issuecomment-1230764393
#17987https://github.com/PowerShell/PowerShell/pull/17987
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 29, 2022https://github.com/PowerShell/PowerShell/pull/17904#event-7281592527
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw)https://github.com/daxian-dbw
Aug 29, 2022 https://github.com/PowerShell/PowerShell/pull/17904#ref-pullrequest-1354772790
Fix error formatting to use color defined in $PSStyle.Formatting #17987 https://github.com/PowerShell/PowerShell/pull/17987
https://github.com/adityapatwardhan
Aditya Patwardhan (adityapatwardhan)https://github.com/adityapatwardhan
Backport-7.2.x-Consider https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3ABackport-7.2.x-Consider
Aug 30, 2022https://github.com/PowerShell/PowerShell/pull/17904#event-7290618768
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%2F17904
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw) https://github.com/daxian-dbw
https://github.com/PowerShell/PowerShell/pull/17904/files/8e46975bf4c7e89971873c0c35fba75368c99a58
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
https://github.com/daxian-dbw
Dongbo Wang (daxian-dbw) https://github.com/daxian-dbw
Extra Small https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3A%22Extra%20Small%22
WG-Interactive-Console https://github.com/PowerShell/PowerShell/issues?q=state%3Aopen%20label%3AWG-Interactive-Console
$ErrorView = 'NormalView' leaves the console in Error color after rendering an ErrorRecord https://github.com/PowerShell/PowerShell/issues/17885
Please reload this pagehttps://github.com/PowerShell/PowerShell/pull/17904
https://github.com/SteveL-MSFT
https://github.com/daxian-dbw
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.