After you paste a command in the terminal you may find that it looks like this:
This is a display bug only, if the command you pasted is correct you can simply press enter and it will execute as expected.