aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2020-04-27 13:49:07 +0000
committerDaniel Eklöf <daniel@ekloef.se>2020-04-27 13:49:07 +0000
commitd1fc419e34b125dc99a6f5e5e1818fb1e8e72096 (patch)
tree07765bad14946536e23b70d10293e526f25d5f55
parentvt: utf8-*-entry: idx is cleared in action_clear() (diff)
vt: action_utf8_print: idx is cleared in action_clear()
-rw-r--r--vt.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vt.c b/vt.c
index 54a9a415..3dcb2f57 100644
--- a/vt.c
+++ b/vt.c
@@ -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.