This commit is contained in:
Gal Szkolnik 2021-04-27 16:39:03 +00:00
commit 5b8f0ca309
1 changed files with 2 additions and 0 deletions

View File

@ -1,4 +1,6 @@
$global:IsOutputANSICompatible = (
$PSVersionTable.Platform -eq "Unix"
) -or (
([int]((Get-CimInstance -ClassName Win32_OperatingSystem).Version -split '\.')[0]) -ge 10
) -or (
($env:ConEmuANSI -eq 'ON') -and ($Host.Name -eq 'ConsoleHost' )