I was observing something strange in my Powershell script just now and I finally narrowed it down to a bug in my code, it was this line:
$AnyExecuted = true
It should've been
$AnyExecuted = $true
However, this line messes up escape code handling in both the standaline Powershell Core windows on Windows 10, as well as in the Windows Terminal:
Anyone know why this happens? What is the true expression? I can't find any mention of it, and why would it have this effect on the output from Powershell?
Note, obviously I updated my script to use $true, which was what I intended, this question is just about what true is.
