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

Formatting issues when pasting in WSL tab #3502

Closed
ghost opened this issue Nov 9, 2019 · 3 comments
Closed

Formatting issues when pasting in WSL tab #3502

ghost opened this issue Nov 9, 2019 · 3 comments
Labels
Resolution-Duplicate There's another issue on the tracker that's pretty much the same thing.

Comments

@ghost
Copy link

ghost commented Nov 9, 2019

Environment

Windows build number: Microsoft Windows [Version 10.0.19018.1]
Windows Terminal version (if applicable): 0.6.2951.0
WSL version: 2
WSL distribution: Ubuntu

Steps to reproduce

Copy any text with multiple lines into the WSL terminal tab.
Note: this bug does NOT occur in the command line and PowerShell tabs.

Expected behavior

Same amount of lines as in the source and the paste not affecting existing text in unexpected ways.

Actual behavior

I get extra lines in-between regardless of whether the source I copy from is LF or CRLF when I paste it into WSL in the terminal.
image
image

Existing text is also affected.

before:
image
after:
image

another example:

before:
image
after:
image

@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 Nov 9, 2019
@d-bingham
Copy link
Contributor

This is, as far as I can tell, a duplicate of #1091 and was fixed in #3449.

I just checked this with the current build (specifically with nano, as I don't actually use it as part of my workflow, and its handling of some terminal settings is different than, say, vi. Also I've been doing development for a long time and that causes paranoia), and it looks like it's working.

So it's working in the live build off the repository, and it'll be in 0.7.

@ghost
Copy link
Author

ghost commented Nov 9, 2019

Glad to hear it. When is 0.7 being released?

@DHowett-MSFT
Copy link
Contributor

@europasich somewhat approximately following the roadmap 😄

@d-bingham thanks for hooking up the duplicate!

@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 Nov 9, 2019
@ghost ghost removed the Needs-Tag-Fix Doesn't match tag requirements label Nov 9, 2019
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

2 participants