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

Copied text from git diff inside powershell core doesn't have carriage return characters #2278

Closed
medoni opened this issue Aug 6, 2019 · 4 comments
Labels
Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@medoni
Copy link

medoni commented Aug 6, 2019

Environment

Windows build number: 10.0.18362.10005
Windows Terminal version (if applicable): 0.2.1831.0
Powserhell core version: 6.2.2
git version: 2.22.0.windows.1

Steps to reproduce

  • Setup a profile to open a powershell core tab directly. Starting pwsh.exe from cmd.exe or powershell.exe doesn't have the issue!
  • call git diff inside of a git directory with unstaged changes
  • select git output with mouse
  • right click to copy
  • open notepad.exe
  • right click -> paste

Expected behavior

pasted text with new line characters like git output

Actual behavior

no newline characters

@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 Aug 6, 2019
@ebmarquez
Copy link
Member

I'm having the same problem when coping syntax out of a ssh session. EOL char seem to be missing.

@medoni
Copy link
Author

medoni commented Aug 7, 2019

Affects also 0.3.2171.0

@DHowett-MSFT
Copy link
Contributor

This is @2275.

@DHowett-MSFT
Copy link
Contributor

Sorry, #2275.

@DHowett-MSFT DHowett-MSFT reopened this Aug 8, 2019
@DHowett-MSFT DHowett-MSFT added the Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing. label Aug 8, 2019
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Aug 8, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Needs-Triage It's a new issue that the core contributor team needs to triage at the next triage meeting 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