Skip to content

Cannot paste responses to prompts into PowerShell host #290

Closed

Description

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.

Activity

  1. lzybkr commented on Nov 11, 2017

    @lzybkr
    Contributor

    Closing in favor of #579 which covers all of the known issues with right-click paste.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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