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

Line breaks in Windows integrated terminal ignored when pasted #7346

Closed
danekan opened this issue Jun 7, 2016 · 6 comments
Closed

Line breaks in Windows integrated terminal ignored when pasted #7346

danekan opened this issue Jun 7, 2016 · 6 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues verified Verification succeeded windows VS Code on Windows issues
Milestone

Comments

@danekan
Copy link

danekan commented Jun 7, 2016

  • VSCode Version: Windows 1.2.0
  • OS Version: Windows 8.1

Steps to Reproduce:

  1. Copy several lines of code (open notepad, type mkdir directory1[enter]mkdir directory2)
  2. Paste code in integrated terminal, it pastes as a single command 'mkdir directory1mkdirdirectory2' with any line breaks removed.

This happens on both default cmd.exe integrated terminal and powershell integrated terminal.

@Tyriar Tyriar added bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues windows VS Code on Windows issues labels Jun 7, 2016
@Tyriar Tyriar self-assigned this Jun 7, 2016
@Tyriar Tyriar added this to the June 2016 milestone Jun 7, 2016
@Tyriar Tyriar modified the milestones: Backlog, June 2016 Jun 25, 2016
@chrmarti
Copy link
Contributor

chrmarti commented Jul 6, 2016

Cannot reproduce with the current insiders build on Windows 8.1/10.

@Tyriar
Copy link
Member

Tyriar commented Jul 7, 2016

@chrmarti can you check out the related #8617 as well? I thought they probably have the same root cause and t he latter was repro'd on Insiders.

@chrmarti
Copy link
Contributor

chrmarti commented Jul 7, 2016

#8617 still reproduces under Windows, taking a closer look.

@chrmarti
Copy link
Contributor

chrmarti commented Jul 7, 2016

This issue still reproduces if the source comes with LF. (Which is not the case if you use notepad, that adds CRLF.)

chrmarti added a commit to chrmarti/vscode that referenced this issue Jul 8, 2016
@Tyriar Tyriar closed this as completed in e6a5c9d Jul 8, 2016
Tyriar added a commit that referenced this issue Jul 8, 2016
@danekan
Copy link
Author

danekan commented Jul 8, 2016

Now with the latest insiders build I cannot even paste into the integrated powershell console, nor the actual code editor. Right click does nothing, CTL V literally displays the ^V. Copy in the code editor works but not the integrated terminal.

@Tyriar
Copy link
Member

Tyriar commented Jul 8, 2016

@danekan this is expected, use ctrl+ins to copy and shift+ins to paste until #6451 is resolved (see that issue for details on future plans). Also related: #8818

jrieken pushed a commit that referenced this issue Jul 12, 2016
jrieken pushed a commit that referenced this issue Jul 12, 2016
@jrieken jrieken added the verified Verification succeeded label Sep 2, 2016
@chrmarti chrmarti removed their assignment May 17, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 18, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug terminal Integrated terminal issues verified Verification succeeded windows VS Code on Windows issues
Projects
None yet
Development

No branches or pull requests

4 participants