Skip to content

Cannot paste responses to prompts into PowerShell host #290

Closed
@joeyaiello

Description

@joeyaiello

Without PSReadline, it's possible to paste both commands and responses to interactive prompts in the same block, like so:

New-Item -Type File foo.txt
Remove-Item -Confirm foo.txt
Y
# (invisible newline here)

With PSReadline, the 'Y' is not passed to the interactive prompt, but is parsed as a separate command after the interactive prompt is finished.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Issue-BugIt either shouldn't be doing this or needs an investigation.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions