Files
LLeMbas-TTY/termwiz/src
Wez Furlong 1ab438c1e2 improve emoji width calculation
I noticed while scrolling `emoji-test.txt` that some of the combined
emoji sequences rendered very poorly.  This was due to the unicode
width being reported as up to 4 in some cases.

Digging into it, I discovered that the unicode width crate uses a
standard calculation that doesn't take emoji combination sequences
into account (see https://github.com/unicode-rs/unicode-width/issues/4).

This commit takes a dep on the xi-unicode crate as a lightweight way
to gain access to emoji tables and test whether a given grapheme is
part of a combining sequence of emoji.
2019-11-05 08:45:08 -08:00
..
2019-05-26 08:27:43 -07:00
2019-11-05 08:45:08 -08:00
2019-09-28 20:29:48 -07:00
2019-11-05 08:45:08 -08:00
2019-02-18 23:26:41 -08:00
2019-06-01 15:39:46 -07:00
2019-05-26 08:27:43 -07:00
2019-10-28 00:14:19 -07:00
2019-05-26 08:27:43 -07:00
2019-02-24 12:01:08 -08:00