Pasted text includes CRLF pairs where unneeded #1453

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

Originally created by @d-bingham on GitHub (Jun 1, 2019).

Originally assigned to: @d-bingham on GitHub.

Multiline text pasted from the clipboard includes CRLF pairs in all cases; this is inappropriate for "Unix-space" sessions, such as WSL.

Environment

Windows build number: Microsoft Windows [Version 10.0.18362.145]
Windows Terminal version (if applicable): 71e19cd82528d66a0a7867cbed85990cfc1685f1

Steps to reproduce

Select multiline text in Terminal.
Copy it (via right-click, ostensibly)
Paste it (again via right-click)

Expected behavior

When pasting into a Unix-space session -- such as WSL -- pasted text should have a reasonable set of line-ending characters.

Actual behavior

Line endings are "doubled" on text paste to Unix-space sessions.

Originally created by @d-bingham on GitHub (Jun 1, 2019). Originally assigned to: @d-bingham on GitHub. <!-- This bug tracker is monitored by Windows Terminal development team and other technical folks. **Important: When reporting BSODs or security issues, DO NOT attach memory dumps, logs, or traces to Github issues**. Instead, send dumps/traces to secure@microsoft.com, referencing this GitHub issue. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> Multiline text pasted from the clipboard includes CRLF pairs in all cases; this is inappropriate for "Unix-space" sessions, such as WSL. # Environment ```none Windows build number: Microsoft Windows [Version 10.0.18362.145] Windows Terminal version (if applicable): 71e19cd82528d66a0a7867cbed85990cfc1685f1 ``` # Steps to reproduce Select multiline text in Terminal. Copy it (via right-click, ostensibly) Paste it (again via right-click) # Expected behavior When pasting into a Unix-space session -- such as WSL -- pasted text should have a reasonable set of line-ending characters. # Actual behavior Line endings are "doubled" on text paste to Unix-space sessions.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#1453