waveterm icon indicating copy to clipboard operation
waveterm copied to clipboard

[Bug]: Update to the latest version, the terminal displays some additional symbols

Open yaolifeng0629 opened this issue 2 months ago • 6 comments

Current Behavior

Updated to the latest version, the terminal displays some additional symbols without any modification operations

Image

Expected Behavior

Normal output prefix, excluding other characters

Steps To Reproduce

  1. Update to the latest version
  2. Open the latest version
  3. 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

yaolifeng0629 avatar Oct 23 '25 01:10 yaolifeng0629

i can confirm I'm experiencing this exact same bug

Wave Version: v0.12.1 Platform: Windows Shell: PowerShell (pwsh)

kkreiju avatar Oct 24 '25 01:10 kkreiju

ah, thanks for reporting. will work on a fix for this ASAP.

sawka avatar Oct 27 '25 18:10 sawka

@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

sawka avatar Oct 27 '25 19:10 sawka

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!

kkreiju avatar Oct 28 '25 04:10 kkreiju

@sawka This is a good temporary solution, Looking forward to its prompt repair

yaolifeng0629 avatar Oct 28 '25 14:10 yaolifeng0629

facing exact same bug on windows instance on powershell as well

chkpcc1a035 avatar Nov 05 '25 07:11 chkpcc1a035

should be fixed in the latest releases (removed the prompt updating code from older powershell versions)

sawka avatar Nov 25 '25 18:11 sawka