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

Can't paste whole clipboard #598

Closed
Stanzilla opened this Issue Mar 22, 2016 · 16 comments

Comments

Projects
None yet
5 participants
@Stanzilla

Stanzilla commented Mar 22, 2016

I tried to paste on 160313

git filter-branch --env-filter '
    oldname="xx"
    oldemail="none"
    newname="xx"
    newemail="xx"
    [ "$GIT_AUTHOR_EMAIL" = "$oldemail" ] && GIT_AUTHOR_EMAIL="$newemail"
    [ "$GIT_COMMITTER_EMAIL" = "$oldemail" ] && GIT_COMMITTER_EMAIL="$newemail"
    [ "$GIT_AUTHOR_NAME" = "$oldname" ] && GIT_AUTHOR_NAME="$newname"
    [ "$GIT_COMMITTER_NAME" = "$oldname" ] && GIT_COMMITTER_NAME="$newname"
    ' HEAD

but it stopped after the '

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Mar 22, 2016

Owner

Do I need to guess how are you trying to paste?

Owner

Maximus5 commented Mar 22, 2016

Do I need to guess how are you trying to paste?

@Stanzilla

This comment has been minimized.

Show comment
Hide comment
@Stanzilla

Stanzilla Mar 22, 2016

Ctrl+V sorry

Stanzilla commented Mar 22, 2016

Ctrl+V sorry

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Stanzilla

This comment has been minimized.

Show comment
Hide comment
@Stanzilla

Stanzilla Mar 22, 2016

Okay so Shift+Insert doesn't work either though since it does it line by line and then fails.

Stanzilla commented Mar 22, 2016

Okay so Shift+Insert doesn't work either though since it does it line by line and then fails.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Mar 22, 2016

Owner

Another cmder problem?

pasting2

Owner

Maximus5 commented Mar 22, 2016

Another cmder problem?

pasting2

@Stanzilla

This comment has been minimized.

Show comment
Hide comment
@Stanzilla

Stanzilla commented Mar 22, 2016

Hrm nope, downloaded a portable ConEmu build and tested it: https://dl.dropboxusercontent.com/s/5h9bt7rga2yejfu/2016-03-22_23-21-16.webm?dl=0

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Mar 22, 2016

Owner

You were warned. It's your shell behavior.

2016-03-23_01-27-29

Owner

Maximus5 commented Mar 22, 2016

You were warned. It's your shell behavior.

2016-03-23_01-27-29

@Maximus5 Maximus5 closed this Mar 22, 2016

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Mar 22, 2016

Owner

FYI, to type multi-line command in cmd.exe prompt, each continued line must be ended with ^. And of course, this "continuator" is different for each shell.

Anyway, copy-pasting multiline commands (from websites?) into terminal is very-very bad idea. That's why Ctrl+V do this limited action by default.

Owner

Maximus5 commented Mar 22, 2016

FYI, to type multi-line command in cmd.exe prompt, each continued line must be ended with ^. And of course, this "continuator" is different for each shell.

Anyway, copy-pasting multiline commands (from websites?) into terminal is very-very bad idea. That's why Ctrl+V do this limited action by default.

Maximus5 added a commit that referenced this issue Mar 25, 2016

gh-598: Improve pasting options for `Shift+Ins` and `Ctrl+V` (multi-l…
…ine text).

  Now, `Ctrl+V` will insert all lines, space-separated, and `Shift+Ins` insert
  multi-line text as before. User may change actions on the ‘Paste’ settings page.
@aiwebb

This comment has been minimized.

Show comment
Hide comment
@aiwebb

aiwebb Apr 16, 2018

Copy-paste is still fundamentally broken for me on current version (180415). It's rendering it pretty much unusable.

Used to work fine - I have no idea why it suddenly broke.

aiwebb commented Apr 16, 2018

Copy-paste is still fundamentally broken for me on current version (180415). It's rendering it pretty much unusable.

Used to work fine - I have no idea why it suddenly broke.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Apr 17, 2018

Owner

@aiwebb Your description is so fundamentally unclear that I have no idea what answer to you...

Owner

Maximus5 commented Apr 17, 2018

@aiwebb Your description is so fundamentally unclear that I have no idea what answer to you...

@efc-awebb

This comment has been minimized.

Show comment
Hide comment
@efc-awebb

efc-awebb Apr 17, 2018

Windows 10. Ctrl+C in any other application. Copies the contents to the clipboard. One line, multiple lines, whatever. Ctrl+V in any other application. Pastes the contents. Works without any issues.

With ConEmu, Ctrl+V pastes a seemingly random subset of the clipboard. If the clipboard contains 400 characters, it might paste characters from the range 302-390. Doesn't matter if the text was copied from another application or from ConEmu.

Happens consistently.

efc-awebb commented Apr 17, 2018

Windows 10. Ctrl+C in any other application. Copies the contents to the clipboard. One line, multiple lines, whatever. Ctrl+V in any other application. Pastes the contents. Works without any issues.

With ConEmu, Ctrl+V pastes a seemingly random subset of the clipboard. If the clipboard contains 400 characters, it might paste characters from the range 302-390. Doesn't matter if the text was copied from another application or from ConEmu.

Happens consistently.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Apr 17, 2018

Owner

It does matter what console application you run in ConEmu when you try to paste.

Owner

Maximus5 commented Apr 17, 2018

It does matter what console application you run in ConEmu when you try to paste.

@efc-awebb

This comment has been minimized.

Show comment
Hide comment
@efc-awebb

efc-awebb Apr 17, 2018

@Maximus5 This is when running WSL's bash.

efc-awebb commented Apr 17, 2018

@Maximus5 This is when running WSL's bash.

@Maximus5

This comment has been minimized.

Show comment
Hide comment
@Maximus5

Maximus5 Apr 17, 2018

Owner

Sure. And how do you run WSL's bash?

Owner

Maximus5 commented Apr 17, 2018

Sure. And how do you run WSL's bash?

@dwatrous

This comment has been minimized.

Show comment
Hide comment
@dwatrous

dwatrous May 10, 2018

For those who end up here, the solution to this is in the comments of this issue #1314

dwatrous commented May 10, 2018

For those who end up here, the solution to this is in the comments of this issue #1314

@efc-awebb

This comment has been minimized.

Show comment
Hide comment
@efc-awebb

efc-awebb May 10, 2018

Thanks @dwatrous! This has been such a massive issue, this is a big help!

efc-awebb commented May 10, 2018

Thanks @dwatrous! This has been such a massive issue, this is a big help!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment