skip 0-width spaces. Closes T3734

This commit is contained in:
Boris Faure 2016-05-31 22:03:58 +02:00
parent b7817a88b3
commit 7d09373c56
1 changed files with 5 additions and 0 deletions

View File

@ -171,6 +171,11 @@ termpty_text_append(Termpty *ty, const Eina_Unicode *codepoints, int len)
}
g = _termpty_charset_trans(codepoints[i], ty);
/* Skip 0-width space */
if (EINA_UNLIKELY(g == 0x200b))
{
continue;
}
termpty_cell_codepoint_att_fill(ty, g, ty->termstate.att,
&(cells[ty->cursor_state.cx]), 1);