Multiple Line Paste #19579

Open
opened 2026-01-31 06:47:49 +00:00 by claunia · 0 comments
Owner

Originally created by @mmanueljoao on GitHub (Mar 25, 2023).

Windows Terminal version

1.16.10262.0

Windows build number

10.0.22621.0

Other Software

No response

Steps to reproduce

I'm getting mixed information about whether muliple line pasting is or is not available.

At this time, when trying to paste this example

# this is a comment 
if ($env:PublicIPv4 -ne (curl -s https://checkip.amazonaws.com/) ) {
	# this is another comment
    $env:PublicIPv4 = (curl -s https://checkip.amazonaws.com/) 
} 
# yet another comment

Windows Terminal pastes and executes the first line, then the executes the complete if block and then waits for me for the last line.

Should this be the default behavior ?

Expected Behavior

image

Actual Behavior

image

Originally created by @mmanueljoao on GitHub (Mar 25, 2023). ### Windows Terminal version 1.16.10262.0 ### Windows build number 10.0.22621.0 ### Other Software _No response_ ### Steps to reproduce I'm getting mixed information about whether muliple line pasting is or is not available. At this time, when trying to paste this example ``` # this is a comment if ($env:PublicIPv4 -ne (curl -s https://checkip.amazonaws.com/) ) { # this is another comment $env:PublicIPv4 = (curl -s https://checkip.amazonaws.com/) } # yet another comment ``` Windows Terminal pastes and executes the first line, then the executes the complete _if block_ and then waits for me for the last line. Should this be the default behavior ? ### Expected Behavior ![image](https://user-images.githubusercontent.com/6817527/227743818-f4cc15af-4875-4cc1-8026-9cf03a9dbbeb.png) ### Actual Behavior ![image](https://user-images.githubusercontent.com/6817527/227743827-98720284-41d0-426f-9503-ffbfcba315d7.png)
claunia added the Needs-TriageIssue-BugResolution-ExternalNeeds-Tag-Fix labels 2026-01-31 06:47:49 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19579