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

Egmont Koblinger bugzilla_noreply at kde.org
Fri May 5 23:32:01 UTC 2017


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

Egmont Koblinger <egmont at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |egmont at gmail.com

--- Comment #2 from Egmont Koblinger <egmont at gmail.com> ---
Just wondering, how come then that the Ace of Clubs symbols gets shown at all?
:)

Combining accents are supported too, so maybe for non-BMP you allocate two
QChars per cell using UTF-16 encoding?

Notice that highlighting with the mouse is a pretty interesting experience. As
you drag the mouse slowly from the left to the right, at every second step you
get to see two replacement symbols (one being highlighted and one not). This
might be related to the first QChar of a UTF-16 being selected only. And in
each step the remaining (not yet highlighted) playing cards are slowly pushed
to the right to fill up the gap.

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


More information about the konsole-devel mailing list