it seems like this happens when the powershell command executes so fast that cursor doesn’t have time to catch it. entering manually in the command line and replaying the last command seems to make cursor aware that it’s finished
Yes, i’m currently using ctrl c or pressing enter or even replaying the previous command but it requires manual intervention which i would like to avoid.
I think one issue with that is that PSReadLine is actually built-in to PowerShell so it’s hard to remove (need to remove it manually from disk I think).
Are you using any terminal themes like Oh My Posh? That seems to be causing some issues for me but I added