Fix PSStyle blink codes (#14447)

This commit is contained in:
Ilya 2020-12-19 11:51:29 +05:00 committed by GitHub
parent 7f3364f5dd
commit 10ef7f5161
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View file

@ -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.

View file

@ -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"