Bug 199381

Summary: When triple click is used to select a line, the final LF should not be included.
Product: [Applications] konsole Reporter: Maciej Pilichowski <bluedzins>
Component: copy-pasteAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED FIXED    
Severity: wishlist CC: adaptee
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: openSUSE   
OS: Unspecified   
Latest Commit: Version Fixed In:

Description Maciej Pilichowski 2009-07-08 07:09:52 UTC
Version:            (using KDE 4.2.90)
Installed from:    SuSE RPMs

Line selection with mouse -- you click 3 times and you get line selected.

Currently there is some inconsistency among KDE apps -- some include LF (Konsole, Kate) some not (Konqueror). I prefer the latter behaviour but with Konsole it is another issue -- LF at the end is usually not needed, worse, it is an obstacle. LF is easy to achieve (you have to press enter) but hard to remove (in my case -- ctrl+c, up to bring bash history, delete).

So it would be better to select a sentence (line w/o LF) and if user needs he/she can press enter easily.
Comment 1 Kurt Hindenburg 2009-10-20 03:22:50 UTC
There appears to be no definitive say on what 3 clicks should do.  The other terminal I tried did as Konsole does.  I might agree that it should leave out the LF.
Comment 2 Martin Sandsmark 2017-01-22 19:12:01 UTC
Git commit 62a38933194d2e7a37c7b185b330c190b1eb1d2f by Martin T. H. Sandsmark.
Committed on 22/01/2017 at 19:11.
Pushed by sandsmark into branch 'master'.

Don't include newlines in selection if trimming is on
REVIEW: 129837

M  +3    -2    src/Screen.cpp

https://commits.kde.org/konsole/62a38933194d2e7a37c7b185b330c190b1eb1d2f