termptyops: skip variation selectors

We should take into account VS1, 15 and 16…
This commit is contained in:
Boris Faure 2019-06-23 19:18:46 +02:00
parent 7b3110d4a2
commit 50f4f6308d
1 changed files with 5 additions and 0 deletions

View File

@ -211,6 +211,11 @@ termpty_text_append(Termpty *ty, const Eina_Unicode *codepoints, int len)
{
continue;
}
/* Skip variation selectors */
if (EINA_UNLIKELY(g >= 0xfe00 && g <= 0xfe0f))
{
continue;
}
if (EINA_UNLIKELY(g >= 0x300 && g <=0x36f))
{
/* combining chars */