Skip to content

Fixes #8892 - Update ANSI behavior changes in 7.3#8922

Merged
michaeltlombardi merged 1 commit intoMicrosoftDocs:mainfrom
sdwheeler:sdw-i8892
Jun 9, 2022
Merged

Fixes #8892 - Update ANSI behavior changes in 7.3#8922
michaeltlombardi merged 1 commit intoMicrosoftDocs:mainfrom
sdwheeler:sdw-i8892

Conversation

@sdwheeler
Copy link
Copy Markdown
Collaborator

PR Summary

Fixes AB#1958798 - Fixes #8892 - Update ANSI behavior changes in 7.3

PR Checklist

  • Descriptive Title: This PR's title is a synopsis of the changes it proposes.
  • Summary: This PR's summary describes the scope and intent of the change.
  • Contributor's Guide: I have read the contributors guide.
  • Style: This PR adheres to the style guide.

@opbld31
Copy link
Copy Markdown

opbld31 commented Jun 9, 2022

Docs Build status updates of commit 79bbd6a:

✅ Validation status: passed

File Status Preview URL Details
reference/7.2/Microsoft.PowerShell.Core/About/about_ANSI_Terminals.md ✅Succeeded View (powershell-7.2)
reference/7.3/Microsoft.PowerShell.Core/About/about_ANSI_Terminals.md ✅Succeeded View (powershell-7.3)
reference/docs-conceptual/whats-new/What-s-New-in-PowerShell-73.md ✅Succeeded View (>=powershell-5.1)

For more details, please refer to the build report.

Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.

For any questions, please:

@michaeltlombardi michaeltlombardi merged commit d7b7167 into MicrosoftDocs:main Jun 9, 2022
Comment on lines +91 to +94
> ```powershell
> $PSStyle.Foreground.Red + "abc" + $PSStyle.Reset | % { $_.Length }
> 12
> ```
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@sdwheeler $PSStyle.OutputRendering only affects Out-String and Out-File and the Host. It doesn't affect other commands or pipeline.

@sdwheeler sdwheeler deleted the sdw-i8892 branch June 10, 2022 13:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Change the behavior of Out-File and Out-String regarding $PSStyle.OutputRendering

4 participants