diff --git a/src/System.Management.Automation/FormatAndOutput/common/PSStyle.cs b/src/System.Management.Automation/FormatAndOutput/common/PSStyle.cs index f27a5b89da9..3d521f7762e 100644 --- a/src/System.Management.Automation/FormatAndOutput/common/PSStyle.cs +++ b/src/System.Management.Automation/FormatAndOutput/common/PSStyle.cs @@ -308,12 +308,12 @@ public class FormattingData /// /// Gets value to turn off blink. /// - public string BlinkOff { get; } = "\x1b[5m"; + public string BlinkOff { get; } = "\x1b[25m"; /// /// Gets value to turn on blink. /// - public string Blink { get; } = "\x1b[25m"; + public string Blink { get; } = "\x1b[5m"; /// /// Gets value to turn off bold. diff --git a/test/powershell/engine/Formatting/PSStyle.Tests.ps1 b/test/powershell/engine/Formatting/PSStyle.Tests.ps1 index 5e02e2e231c..2b6e5f1525b 100644 --- a/test/powershell/engine/Formatting/PSStyle.Tests.ps1 +++ b/test/powershell/engine/Formatting/PSStyle.Tests.ps1 @@ -6,8 +6,8 @@ Describe 'Tests for $PSStyle automatic variable' { $PSDefaultParameterValues.Add('It:Skip', (-not $EnabledExperimentalFeatures.Contains('PSAnsiRendering'))) $styleDefaults = @{ Reset = "`e[0m" - BlinkOff = "`e[5m" - Blink = "`e[25m" + BlinkOff = "`e[25m" + Blink = "`e[5m" BoldOff = "`e[22m" Bold = "`e[1m" HiddenOff = "`e[28m"