gdamore / dcell

Terminal Cells implemented for D
Boost Software License 1.0
13 stars 1 forks source link

Need to handle glyphs (graphemes) better #4

Open gdamore opened 2 years ago

gdamore commented 2 years ago

The handling for graphemes is a bit dodgy at present -- we use a string text, but there is a grapheme data structure that might be better for this purpose in std.uni.

gdamore commented 2 years ago

So note that the grapheme support in std.uni is a bit broken, as it apparently only supports Unicode 6.0, which is kind of old now, and doesn't really handle emoji well.

We might need to go our own way on this.