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.