Skip to content

Cannot paste responses to prompts into PowerShell host #290

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
joeyaiello opened this issue Sep 28, 2015 · 1 comment
Closed

Cannot paste responses to prompts into PowerShell host #290

joeyaiello opened this issue Sep 28, 2015 · 1 comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.

Comments

@joeyaiello
Copy link

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.

@lzybkr lzybkr added the Issue-Bug It either shouldn't be doing this or needs an investigation. label Dec 2, 2015
@lzybkr
Copy link
Member

lzybkr commented Nov 11, 2017

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

@lzybkr lzybkr closed this as completed Nov 11, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Issue-Bug It either shouldn't be doing this or needs an investigation.
Projects
None yet
Development

No branches or pull requests

2 participants