MacOS – How to get Terminal.app pasting behavior in iTerm 2

copy/pasteitermmacosterminal

I often paste stuff into my terminal from websites, sometimes with newlines in wrong places, sometimes with newlines where you would expect them. However, iTerm seems to ignore any paste that contains newlines. This often leaves me confused as to wether I copied the contents of the text I wanted to paste correctly, and when I've found out that I copied them the way I wanted to, I have to reformat those lines in some text editor which all unnecessarily breaks flow. Above that, iTerm also has this weird feature that always pastes slowly instead of just putting the clipboard contents there. I know these things might have been implemented for safety reasons, but I can tell you now that I am going to execute every command I want to execute, wether they have newlines in them or not.

I've fixed this last annoyance kinda by altering some sort of delays or something in the preferences, but I would kinda rather get rid of these features and let iTerm behave as Apple's terminal app, or any OS X application for that matter. Anyone know how to tackle this problem?

Best Answer

You hit a bug. Upgrade to 3.0.9 to fix it.