Skip to content

Conversation

@SteveL-MSFT
Copy link
Member

@SteveL-MSFTSteveL-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

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

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

Handy links:

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

Labels

CL-GeneralIndicates 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

@SteveL-MSFT@TravisEz13@anmenaga@iSazonov