skip 0-width spaces. Closes T3734
This commit is contained in:
parent
b7817a88b3
commit
7d09373c56
|
@ -171,6 +171,11 @@ termpty_text_append(Termpty *ty, const Eina_Unicode *codepoints, int len)
|
||||||
}
|
}
|
||||||
|
|
||||||
g = _termpty_charset_trans(codepoints[i], ty);
|
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,
|
termpty_cell_codepoint_att_fill(ty, g, ty->termstate.att,
|
||||||
&(cells[ty->cursor_state.cx]), 1);
|
&(cells[ty->cursor_state.cx]), 1);
|
||||||
|
|
Loading…
Reference in New Issue