Bug 159261 - Konsole always treats a space at the end of a selection as newline
Summary: Konsole always treats a space at the end of a selection as newline
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-13 21:23 UTC by Mike
Modified: 2008-03-18 14:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike 2008-03-13 21:23:30 UTC
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.
Comment 1 Robert Knight 2008-03-18 14:20:31 UTC
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