Conemu: Can't paste whole clipboard

Created on 22 Mar 2016  路  20Comments  路  Source: Maximus5/ConEmu

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 '

Most helpful comment

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.

All 20 comments

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

Ctrl+V sorry

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

Another cmder problem?

pasting2

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

You were warned. It's your shell behavior.

2016-03-23_01-27-29

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.

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 Your description is so fundamentally unclear that I have no idea what answer to you...

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.

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

@Maximus5 This is when running WSL's bash.

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

For those who end up here, the solution to this is in the comments of this issue https://github.com/Maximus5/ConEmu/issues/1314

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

@dwatrous can you point to the specific comment that shows how to fix this?

ConEmu.exe -basic -run {bash}

BashOnWindows in ConEmu

There's now an update on that thread #1314 - all you have to do is install the latest version and re-create your Default Tasks! Thanks @Maximus5 !

Was this page helpful?
0 / 5 - 0 ratings

Related issues

phazei picture phazei  路  6Comments

eblis picture eblis  路  5Comments

MandarSant picture MandarSant  路  3Comments

UweKeim picture UweKeim  路  5Comments

marfillaster picture marfillaster  路  6Comments