vt: action_utf8_print: idx is cleared in action_clear()

This commit is contained in:
Daniel Eklöf 2020-04-27 15:49:07 +02:00
parent 4278af99d2
commit d1fc419e34
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F

3
vt.c
View file

@ -542,9 +542,6 @@ action_utf8_print(struct terminal *term, uint8_t c)
if ((ssize_t)count < 0)
wc = 0;
/* Reset VT utf8 state */
term->vt.utf8.idx = 0;
#if FOOT_UNICODE_COMBINING
/*
* Try to combine with the previous character.