In some terminal sessions, a space is inserted where long lines wrap. When copying multiple lines with a mouse, the inserted trailing space on each line is included. When pasted, one must manually delete these extra spaces.Is there some terminal setting that can prevent the insertion of these extra spaces for long, wrapping lines of text?If it matters, I'm currently using iTerm on Mac OS X, but the problem happens depending on what machine I ssh into.
Eliminating trailing space on wrapped lines in a terminal
terminal