-
Notifications
You must be signed in to change notification settings - Fork 521
Open
@dkattan
Description
Prerequisites
- I have written a descriptive issue title.
- I have searched all open and closed issues to ensure it has not already been reported.
- I have read the troubleshooting guide.
- I am sure this issue is with the extension itself and does not reproduce in a standalone PowerShell instance.
- I have verified that I am using the latest version of Visual Studio Code and the PowerShell extension.
- If this is a security issue, I have read the security issue reporting guidance.
Summary
An ANSI escape sequence is emitted and script execution is blocked until you hit Enter a bunch of times.
PowerShell Version
Name Value ---- ----- PSVersion 7.5.0 PSEdition Core GitCommitId 7.5.0 OS Darwin 24.3.0 Darwin Kernel Version 24.3.0: Thu Jan 2 20:24:22 PST 2025; root:xnu-11215.81.4~3/RELEASE_ARM64_T6041 Platform Unix PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...} PSRemotingProtocolVersion 2.3 SerializationVersion 1.1.0.1 WSManStackVersion 3.0 Name : ConsoleHost Version : 7.5.0 InstanceId : 54662023-751e-4a90-bdac-1799cccf6dfb UI : System.Management.Automation.Internal.Host.InternalHostUserInterface CurrentCulture : en-US CurrentUICulture : en-US PrivateData : Microsoft.PowerShell.ConsoleHost+ConsoleColorProxy DebuggerEnabled : True IsRunspacePushed : False Runspace : System.Management.Automation.Runspaces.LocalRunspace
Visual Studio Code Version
1.98.2 ddc367ed5c8936efe395cffeec279b04ffd7db78 arm64
Extension Version
ms-vscode.powershell@202500
Steps to Reproduce
Run on MacOS in VS Code
# test.ps1 Start-Transcript -Path (New-TemporaryFile).FullName Write-Progress "a" yarn --version Stop-Transcript
PS /Users/user/code> ./test.ps1
Transcript started, output file is /var/folders/c0/vqmgyfpx38q4bwrxrkcgwcyr0000gn/T/tmpMneggD.tmp
1.22.22
^[[6;1R
Details
- Does not happen on VS Code in Windows
- Does not happen from zsh Terminal outside of VS Code when run from `pwsh -File ./test.ps1
Visuals
Logs
No response