Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When copying wrapped text, occasionally copies rendered newline #5332

Closed
Merith-TK opened this issue Apr 12, 2020 · 4 comments
Closed

When copying wrapped text, occasionally copies rendered newline #5332

Merith-TK opened this issue Apr 12, 2020 · 4 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@Merith-TK
Copy link

Environment

Windows build number: Microsoft Windows [Version 10.0.19587.1000]
Windows Terminal version (if applicable): 0.10.781.0

Any other software?
Nope.

Steps to reproduce

resize the window to the size of your phone, and either over ssh or on localhost, echo a long string such as
asdfasdfasd65f4a6s5d4f56asd4f65a4sdf654asd65f4a6s5d4f65a4sdf65a4sdf65as6dfsdaqwfasd231xcvedfr9864werasdf354asd

Select and copy the terminal output
and then without resizing paste elsewhere

Expected behavior

Copy/paste properly

Actual behavior

At the time of creating this issue, it was not occurring,
but I will describe
I cat'ed this file to share to my buddy off my server over ssh

[Unit]
Description=Webserver for VSCODE
Documentation=https://github.com/cdr/code-server/
After=network-online.target
Wants=network-online.target systemd-networkd-wait-online.service

[Service]
Restart=on-abnormal
StartLimitInterval=10
StartLimitBurst=3

User=code
Group=code

#WorkingDirectory=/home/developer/Workspace
ExecStart=/opt/code-server/program/code-server --extensions-dir /opt/code-server/extensions --user-data-dir /opt/code-server/data/ /home/code/Workspace --auth=none --host 0.0.0.0 --disable-ssh
ExecReload=/bin/kill -USR1 $MAINPID

[Install]
WantedBy=multi-user.target

selected text was wrapped so the ExecStart directive looked like this

ExecStart=/opt/code-server/program/code-server --extensions-dir /opt/code-serv
er/extensions --user-data-dir /opt/code-server/data/ /home/code/Workspace --a
uth=none --host 0.0.0.0 --disable-ssh

And when I pasted it it pasted what It looked like in the terminal, with no regard for the fact there was no new lines.

This happens a bit too often for my liking, (at least on average of constant use, 3 times an hour)

@ghost ghost added Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Needs-Tag-Fix Doesn't match tag requirements labels Apr 12, 2020
@Merith-TK Merith-TK changed the title When copying text with newline, occasionally copies rendered newline When copying wrapped text, occasionally copies rendered newline Apr 12, 2020
@skyline75489
Copy link
Collaborator

This should be fixed by #5181, if i'm not mistaken

@Merith-TK
Copy link
Author

well if it is fixed, the update has not rolled out... last release was almost a month ago

@DHowett-MSFT
Copy link
Contributor

An astute observation.

@DHowett-MSFT DHowett-MSFT added Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. and removed Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting labels Apr 13, 2020
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Apr 13, 2020
@Merith-TK
Copy link
Author

yep. forgot to close this sorry,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.
Projects
None yet
Development

No branches or pull requests

3 participants