@2fd7551e I don't know if you can paste an Enter -- I think it depends on your terminal app and your shell (note that if you copy two lines, like
echo hello
echo world
and paste them, some terminal apps and some shells will execute the first line before pasting the second, and some won't until you hit enter). You can also hit Ctrl-X Ctrl-E to open up a text editor to type a command, which is then executed when you save with no enter key required, but... you probably can't paste the ^X^E keys either