line continuation issues when pasting multiple lines of powershell #3679

Open
opened 2026-01-30 23:27:08 +00:00 by claunia · 0 comments
Owner

Originally created by @sumptersmartt on GitHub (Aug 30, 2019).

When pasting

gci `
C:\test\ `
| select name

into windows powershell or powershell core in windows console, I get expected results. If I try to paste and run any command with >1 line continuation it fails.

As a user, I would expect windows terminal powershell to behave exactly the same as the legacy console powershell.

image

Originally created by @sumptersmartt on GitHub (Aug 30, 2019). When pasting ``` gci ` C:\test\ ` | select name ``` into windows powershell or powershell core in windows console, I get expected results. If I try to paste and run any command with >1 line continuation it fails. As a user, I would expect windows terminal powershell to behave exactly the same as the legacy console powershell. ![image](https://user-images.githubusercontent.com/37681357/64036239-5491b680-cb18-11e9-8303-ec164a3671c9.png)
claunia added the Resolution-Duplicate label 2026-01-30 23:27:08 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#3679