Fix PSStyle blink codes (#14447)
This commit is contained in:
parent
7f3364f5dd
commit
10ef7f5161
|
@ -308,12 +308,12 @@ namespace System.Management.Automation
|
|||
/// <summary>
|
||||
/// Gets value to turn off blink.
|
||||
/// </summary>
|
||||
public string BlinkOff { get; } = "\x1b[5m";
|
||||
public string BlinkOff { get; } = "\x1b[25m";
|
||||
|
||||
/// <summary>
|
||||
/// Gets value to turn on blink.
|
||||
/// </summary>
|
||||
public string Blink { get; } = "\x1b[25m";
|
||||
public string Blink { get; } = "\x1b[5m";
|
||||
|
||||
/// <summary>
|
||||
/// Gets value to turn off bold.
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue