[Bug]: Update to the latest version, the terminal displays some additional symbols
Current Behavior
Updated to the latest version, the terminal displays some additional symbols without any modification operations
Expected Behavior
Normal output prefix, excluding other characters
Steps To Reproduce
- Update to the latest version
- Open the latest version
- The terminal has already displayed other characters
Wave Version
v0.12.1
Platform
Windows
OS Version/Distribution
No response
Architecture
x64
Anything else?
No response
Questionnaire
- [x] I'm interested in fixing this myself but don't know where to start
- [x] I would like to fix and I have a solution
- [x] I don't have time to fix this right now, but maybe later
i can confirm I'm experiencing this exact same bug
Wave Version: v0.12.1 Platform: Windows Shell: PowerShell (pwsh)
ah, thanks for reporting. will work on a fix for this ASAP.
@kkreiju @yaolifeng0629 sorry about this regression. just put in a fix. It seems like powershell 5.x doesn't support ASNI escape sequences so they will be disabled.
This will ship in the next patch release.
As a quick workaround, if you upgrade to a newer version of powershell (pwsh, v7.x) it should work: https://learn.microsoft.com/en-us/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.5
thanks so much, @sawka , this fixed the issue.
just as feedback, i first tried to install it using winget install --id Microsoft.PowerShell --source winget, but for my end, the command just got stuck and wouldn't complete.
i installed the .msi package from the link you provided instead, and that worked perfectly. everything is displaying correctly now. much appreciated!
@sawka This is a good temporary solution, Looking forward to its prompt repair
facing exact same bug on windows instance on powershell as well
should be fixed in the latest releases (removed the prompt updating code from older powershell versions)