Skip to content

Write-Progress not cleaned up unless -Complete is explicitly specified #3807

Closed
PowerShell/PowerShellEditorServices
#1719
@JustinGrote

Description

@JustinGrote

Prerequisites

  • I have written a descriptive issue title.
  • I have searched all 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.

Summary

image

If you do a -complete it will go away. In normal PS it will go away at end of execution and return to prompt, so the "return to prompt" handling that happens in progress must not be happening in our host.

PowerShell Version

Preview

Visual Studio Code Version

Insiders

Extension Version

Preview

Steps to Reproduce

Write-Progress 'test'

Hit enter a few times

Visuals

No response

Logs

No response

Metadata

Metadata

Assignees

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions