8000 Reset color after writing Verbose, Debug, and Warning message by SteveL-MSFT · Pull Request #14698 · PowerShell/PowerShell · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@SteveL-MSFT
Copy link
Member
@SteveL-MSFT SteveL-MSFT commented Feb 3, 2021

PR Summary

With the $PSStyle change, it did not reset the console attributes, so strings written before something else reset the color would retain those attributes incorrectly. Fix is to always use the Reset ANSI sequence after the string being written.

PR Checklist

@TravisEz13 TravisEz13 merged commit 8e77808 into PowerShell:master Feb 3, 2021
@SteveL-MSFT SteveL-MSFT deleted the reset-color branch February 3, 2021 17:44
@iSazonov iSazonov added the CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log label Feb 6, 2021
@iSazonov iSazonov added this to the 7.2.0-preview.3 milestone Feb 6, 2021
@ghost
Copy link
ghost commented Feb 12, 2021

🎉v7.2.0-preview.3 has been released which incorporates this pull request.:tada:

Handy links:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CL-General Indicates that a PR should be marked as a general cmdlet change in the Change Log

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants

0