When an escape sequence is longer than the buffer, keep the last two chars.
Keeping only the last char is not enough, since we miss ST (ESC\) for the end of the sequence. This fixes https://bugs.kde.org/show_bug.cgi?id=432804
Please register or sign in to comment