This probably has nothing to do with the problem you're having, but whenever I cut text out of a terminal window, there's always trailing spaces, so when I paste into something else, it sometimes messes up the format. So I often paste into
first, and remove all the trailing spaces before cut n pasting somewhere else (and I nearly always have a Vim window open).