[Konsole-devel] [Bug 188528] konsole's history adds spaces to end of lines when copying text
Kurt V. Hindenburg
kurt.hindenburg at gmail.com
Mon Nov 2 04:18:10 UTC 2009
https://bugs.kde.org/show_bug.cgi?id=188528
--- Comment #18 from Kurt V. Hindenburg <kurt hindenburg gmail com> 2009-11-02 05:18:07 ---
I think this is the code that is causing this issue. A new line grabs the
length of the previous line; hence after a long line, all short lines
afterwards will have extra spaces.
A new line will have size == 0
Screen.cpp - added in Revision 571962
688 if (size == 0 && cuY > 0)
689 {
690 screenLines[cuY].resize( qMax(screenLines[cuY-1].size() , cuX+w) );
691 }
--
Configure bugmail: https://bugs.kde.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the konsole-devel
mailing list