Version: (using Devel) Installed from: Compiled sources OS: Linux If you select a part of a line but include a space which was between words then konsole treats the space at the end of the line as a newline. eg. $ ls -l /home/ Select 'ls -l ' and then paste, there will be a newline replacing the space character. Selecting a final space is common if you are building up a long command from lots of pieces of text.
SVN commit 787010 by knight: Only remove trailing whitespace from the end of the line when copying from the screen to the clipboard or selection. If the current selection ends with white space but does not extend to the end of the line then that white space is included in the copied text. BUG: 159261 M +10 -11 Screen.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=787010