[konsole] [Bug 379535] Combining 4-byte utf8 characters with color-changing ansi escapes gives extra spaces on output

Tom Littauer bugzilla_noreply at kde.org
Sun May 7 21:37:59 UTC 2017


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

--- Comment #9 from Tom Littauer <kde at littauer.com> ---
Created attachment 105382
  --> https://bugs.kde.org/attachment.cgi?id=105382&action=edit
Replaced 2nd line with double-width equivalent

More data:

It seems that the "double width" mode is line-at-a-time only and the escape
sequence to change to it (\033 # 6) has no effect unless it's at BOL (at least
in this version of Konsole). This may interfere with the patch cited
previously.

Also, even if we make no attempt to include odd Unicode values, changing colors
in the middle of a pure double-width line has odd effects.

The attached test data file (testfile2.txt) makes the second line double width
and attempts to change colors in the middle of the line.

Cat the file in Konsole and the 2nd line has different colored characters in
wrong (overlapping) positions.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the konsole-devel mailing list