Copy/Paste in WSL terminal adds extra newline after each line of copied text #4620

Closed
opened 2026-01-30 23:52:09 +00:00 by claunia · 2 comments
Owner

Originally created by @vineethrp on GitHub (Oct 24, 2019).

Environment

Windows build number: Microsoft Windows [Version 10.0.19008.1]
Windows Terminal version (if applicable): 0.6.2951.0

Any other software?

Steps to reproduce

  1. Copy a set of lines by marking using mouse and then Ctrl+C. You can also use "copyOnSelect" : true, in the settings.
  2. Open vim and paste using Shift + Insert.
  3. You would be able to see extra newlines after each line of copied text

Expected behavior

You should not be seeing extra newlines when you copy text

Actual behavior

Extra newlines after each line of copied text.

Originally created by @vineethrp on GitHub (Oct 24, 2019). <!-- 🚨🚨🚨🚨🚨🚨🚨🚨🚨🚨 I ACKNOWLEDGE THE FOLLOWING BEFORE PROCEEDING: 1. If I delete this entire template and go my own path, the core team may close my issue without further explanation or engagement. 2. If I list multiple bugs/concerns in this one issue, the core team may close my issue without further explanation or engagement. 3. If I write an issue that has many duplicates, the core team may close my issue without further explanation or engagement (and without necessarily spending time to find the exact duplicate ID number). 4. If I leave the title incomplete when filing the issue, the core team may close my issue without further explanation or engagement. 5. If I file something completely blank in the body, the core team may close my issue without further explanation or engagement. All good? Then proceed! --> <!-- 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. If this is an application crash, please also provide a Feedback Hub submission link so we can find your diagnostic data on the backend. Use the category "Apps > Windows Terminal (Preview)" and choose "Share My Feedback" after submission to get the link. Please use this form and describe your issue, concisely but precisely, with as much detail as possible. --> # Environment ```none Windows build number: Microsoft Windows [Version 10.0.19008.1] Windows Terminal version (if applicable): 0.6.2951.0 Any other software? ``` # Steps to reproduce 1. Copy a set of lines by marking using mouse and then Ctrl+C. You can also use `"copyOnSelect" : true,` in the settings. 2. Open vim and paste using Shift + Insert. 3. You would be able to see extra newlines after each line of copied text # Expected behavior You should not be seeing extra newlines when you copy text # Actual behavior Extra newlines after each line of copied text.
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-30 23:52:09 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Oct 24, 2019):

I'm fairly certain this is a dupe of #1091, though I think @DHowett-MSFT or @carlos-zamora should confirm for me

@zadjii-msft commented on GitHub (Oct 24, 2019): I'm _fairly_ certain this is a dupe of #1091, though I think @DHowett-MSFT or @carlos-zamora should confirm for me
Author
Owner

@vineethrp commented on GitHub (Oct 24, 2019):

I'm fairly certain this is a dupe of #1091, though I think @DHowett-MSFT or @carlos-zamora should confirm for me

Yes, I think you are right. Sorry for the dup, my github search did not show this 1091.

@vineethrp commented on GitHub (Oct 24, 2019): > I'm _fairly_ certain this is a dupe of #1091, though I think @DHowett-MSFT or @carlos-zamora should confirm for me Yes, I think you are right. Sorry for the dup, my github search did not show this 1091.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#4620