Some lines failed to be pasted when multi-pasting. #15508

Open
opened 2026-01-31 04:40:38 +00:00 by claunia · 0 comments
Owner

Originally created by @lzfzzz on GitHub (Oct 11, 2021).

Windows Terminal version (or Windows build number)

10.0.19042.0

Other Software

Firefox 93.0
Ubuntu 20.04 LTS

Steps to reproduce

for remote in $(git remote show)
do
	fetch_url=`git remote get-url $remote | sed -e 's#**.**.**.**#**.**.**.**#' -e 's#**.**.**.**:80/#**.**.**.**:8080/#' -e 's#http://**.**.**.**/#http://**.**.**.**:8080/#'`
	push_url=`git remote get-url $remote --push | sed -e 's#**.**.**.**#**.**.**.**#' -e 's#**.**.**.**:80/#**.**.**.**:8080/#' -e 's#http://**.**.**.**/#http://**.**.**.**:8080/#'`
	git remote set-url $remote $fetch_url
	git remote set-url $remote $push_url --push
done

Paste the code above from Firefox (Windows) into bash (Ubuntu/WSL).

Expected Behavior

Paste 7 lines into bash.

Actual Behavior

The Windows Terminal preview is corrected.
QQ截图20211011194005

But only the first 2 lines of the code is pasted.
QQ截图20211011194020

Originally created by @lzfzzz on GitHub (Oct 11, 2021). ### Windows Terminal version (or Windows build number) 10.0.19042.0 ### Other Software Firefox 93.0 Ubuntu 20.04 LTS ### Steps to reproduce ```bash for remote in $(git remote show) do fetch_url=`git remote get-url $remote | sed -e 's#**.**.**.**#**.**.**.**#' -e 's#**.**.**.**:80/#**.**.**.**:8080/#' -e 's#http://**.**.**.**/#http://**.**.**.**:8080/#'` push_url=`git remote get-url $remote --push | sed -e 's#**.**.**.**#**.**.**.**#' -e 's#**.**.**.**:80/#**.**.**.**:8080/#' -e 's#http://**.**.**.**/#http://**.**.**.**:8080/#'` git remote set-url $remote $fetch_url git remote set-url $remote $push_url --push done ``` Paste the code above from Firefox (Windows) into bash (Ubuntu/WSL). ### Expected Behavior Paste 7 lines into bash. ### Actual Behavior The Windows Terminal preview is corrected. ![QQ截图20211011194005](https://user-images.githubusercontent.com/84131394/136784555-b7481e4a-efef-4096-a02a-533237a1c2c0.png) But only the first 2 lines of the code is pasted. ![QQ截图20211011194020](https://user-images.githubusercontent.com/84131394/136784811-559d5ba2-da0c-4b8a-ab3c-061ca5af7969.png)
claunia added the Needs-TriageNeeds-Tag-FixProduct-Terminal labels 2026-01-31 04:40:38 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#15508