Skip to content

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

Merged
Mikey Lombardi (He/Him) (michaeltlombardi) merged 1 commit into
MicrosoftDocs:mainfrom
sdwheeler:sdw-i8892
Jun 9, 2022
Merged

Mikey Lombardi (He/Him) (michaeltlombardi) merged 1 commit into
MicrosoftDocs:mainfrom
sdwheeler:sdw-i8892

Conversation

@sdwheeler

Copy link
Copy Markdown
Contributor

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

opbld31 commented Jun 9, 2022

Copy link
Copy Markdown

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
Mikey Lombardi (He/Him) (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.

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

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