[Konsole-devel] [Bug 217669] Wrong behavior for 'delete char' ansi code

Alexandre Becoulet diaxen at free.fr
Tue Apr 20 13:04:59 UTC 2010


https://bugs.kde.org/show_bug.cgi?id=217669





--- Comment #5 from Alexandre Becoulet <diaxen free fr>  2010-04-20 15:04:58 ---
Yes, I used it for a while on kdebase-4.3.4 before upgrading recently. I might
not have Q_ASSERT enabled.

I realize that this line seems wrong too:

    Q_ASSERT( cuX+n < screenLines[cuY].count() )

    screenLines[cuY].remove(cuX,n);

For instance lets assume curX == 0, Q_ASSERT prevents removing all characters
on the line. However screenLines[cuY].remove(0, screenLines[cuY].count()) is a
valid operation. Isn't it ?

-- 
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