Copy out of terminal does not include linebreaks #18391

Closed
opened 2026-01-31 06:12:27 +00:00 by claunia · 2 comments
Owner

Originally created by @benjaminlostandfound on GitHub (Sep 6, 2022).

Windows Terminal version

1.14.2281.0

Windows build number

Microsoft Windows NT 10.0.19044.0

Other Software

WSL 2:
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS"

Steps to reproduce

Copy text out of windows terminal when running wsl/ssh

Expected Behavior

Just copy text in the terminal and paste it somewhere else

Actual Behavior

Copied text will does not line breaks

Originally created by @benjaminlostandfound on GitHub (Sep 6, 2022). ### Windows Terminal version 1.14.2281.0 ### Windows build number Microsoft Windows NT 10.0.19044.0 ### Other Software WSL 2: DISTRIB_ID=Ubuntu DISTRIB_RELEASE=20.04 DISTRIB_CODENAME=focal DISTRIB_DESCRIPTION="Ubuntu 20.04.4 LTS" ### Steps to reproduce Copy text out of windows terminal when running wsl/ssh ### Expected Behavior Just copy text in the terminal and paste it somewhere else ### Actual Behavior Copied text will does not line breaks
claunia added the Needs-TriageIssue-BugNeeds-Tag-FixNeeds-Attention labels 2026-01-31 06:12:28 +00:00
Author
Owner

@zadjii-msft commented on GitHub (Sep 6, 2022):

What text did you specifically output and try to copy/? (if you have a debug tap trace, that might be helpful) Were you running in tmux? Was ssh actually involved? These are all things that might dupe this to one of the related issues on the backlog.

Pretty sure this looks like #8976

@zadjii-msft commented on GitHub (Sep 6, 2022): What text did you specifically output and try to copy/? (if you have a [debug tap](https://github.com/microsoft/terminal/wiki/Enabling-the-debug-tap) trace, that might be helpful) Were you running in tmux? Was ssh actually involved? These are all things that might dupe this to one of the related issues on the backlog. Pretty sure this looks like #8976
Author
Owner

@benjaminlostandfound commented on GitHub (Sep 12, 2022):

Going back to putty as i saw there is allready an issue in the backlog.

@benjaminlostandfound commented on GitHub (Sep 12, 2022): Going back to putty as i saw there is allready an issue in the backlog.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#18391