summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authornicm <nicm>2017-04-22 08:33:28 +0000
committernicm <nicm>2017-04-22 08:33:28 +0000
commitbcab77e266c37e2f1cbb74006e9b927ea4f99dfb (patch)
tree5462623c9fdd01b446b9e194628f4916b657584a /input.c
parent30348edc7c0e3fd7afa545efbe48cdad69102e65 (diff)
We need to collect UTF-8 characters so that width != 1 characters are
correctly flushed.
Diffstat (limited to 'input.c')
-rw-r--r--input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/input.c b/input.c
index 0b667390..34fa7a9c 100644
--- a/input.c
+++ b/input.c
@@ -2011,7 +2011,7 @@ input_utf8_close(struct input_ctx *ictx)
(int)ud->size, ud->data, ud->width);
utf8_copy(&ictx->cell.cell.data, ud);
- screen_write_cell(&ictx->ctx, &ictx->cell.cell);
+ screen_write_collect_add(&ictx->ctx, &ictx->cell.cell);
return (0);
}