codevis icon indicating copy to clipboard operation
codevis copied to clipboard

Handle grapheme clusters

Open sloganking opened this issue 1 year ago • 0 comments

Grapheme clusters represent a single visual character as perceived by the user. But these may contain multiple UTF-8 characters. Currently CodeVis renders each UTF-8 character in it's own space. Improperly rendering multi-character graphemes. unicode-segmentation is a crate that may let us easilly tell where grapheme clusters begin and end.

sloganking avatar Feb 16 '24 06:02 sloganking