-
Notifications
You must be signed in to change notification settings - Fork 8.1k
Closed
Labels
Resolution-AnsweredThe question is answered.The question is answered.
Description
Prerequisites
- Write a descriptive title.
- Make sure you are able to repro it on the latest released version
- Search the existing issues.
- Refer to the FAQ.
- Refer to Differences between Windows PowerShell 5.1 and PowerShell.
Steps to reproduce
- MacOS Ventura v. 13.5
- Open any shell (zsh, bash, fish)
- Install the latest stable version via brew (
brew install --cask powershell) - Run
pwshscript - Try to print
exit, orclearorlsymbols.
Expected behavior
Nothing more is visible after the printed symbols.Actual behavior
After the command text, there will be 'phantom' symbols like
PS /Users/georgiizagladin> clear1;33R
PS /Users/georgiizagladin> exit3;32R
PS /Users/georgiizagladin> l7;35Re7;41Ra7;47Rr7;53R
However, these symbols are not blocking the execution of the command (you may finish the command, for example, print 'clear', press 'enter' key, and the log will be cleared)
'1;33R' and '3;32R' looks like the coordinates of the pointer in the terminal window.Error details
Nothing is printed out.Environment data
PS /Users/georgiizagladin> $PSVersionTable
Name Value
---- -----
PSVersion 7.3.6
PSEdition Core
GitCommitId 7.3.6
OS Darwin 22.6.0 Darwin Kernel Version 22.6.0: Wed Jul 5 22:21:53 PDT…
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
WSManStackVersion 3.0Visuals

Metadata
Metadata
Assignees
Labels
Resolution-AnsweredThe question is answered.The question is answered.