summaryrefslogtreecommitdiffstats
path: root/screen-write.c
diff options
context:
space:
mode:
authornicm <nicm>2017-04-22 10:30:56 +0000
committernicm <nicm>2017-04-22 10:30:56 +0000
commit55cd4c7bc756509f241788f7f73676676ef538f6 (patch)
treec8e7b77543e506d662c27702779e21fd96352d94 /screen-write.c
parenta4eaac359a244a2036265c81c74bc4cd46e05a76 (diff)
Can't collect UTF-8 characters of more than one byte at the moment.
Diffstat (limited to 'screen-write.c')
-rw-r--r--screen-write.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/screen-write.c b/screen-write.c
index 1af3b32f..41f1c23c 100644
--- a/screen-write.c
+++ b/screen-write.c
@@ -1113,7 +1113,7 @@ screen_write_collect_add(struct screen_write_ctx *ctx,
*/
collect = 1;
- if (gc->data.width != 1)
+ if (gc->data.width != 1 || gc->data.size != 1)
collect = 0;
else if (gc->attr & GRID_ATTR_CHARSET)
collect = 0;