intellij-powershell icon indicating copy to clipboard operation
intellij-powershell copied to clipboard

Prompting for input?

Open lordmortis opened this issue 6 years ago • 2 comments

When i try to prompt for input via "Read-Host" (or specifying parameters) I don't see the prompt displayed and the script hangs?

example:

param (
    [Parameter(Mandatory)]
    [string]$name = $( Read-Host "Migration Name" )
)

lordmortis avatar Sep 28 '19 08:09 lordmortis

It seems that I have the same problem with $Host.UI.PromptForChoice() Interestingly, pressing Enter accepts the default option, even though options and prompt were not visible.

machekku avatar Oct 15 '21 14:10 machekku

This is still an issue with latest version. Pretty much makes the entire module unusable for me.

HeXDeMoN avatar May 26 '22 19:05 HeXDeMoN

It looks like it got better after #90, while still clunky.

ForNeVeR avatar Sep 18 '23 22:09 ForNeVeR