Skip to content

Commit

Permalink
Can't collect UTF-8 characters of more than one byte at the moment.
Browse files Browse the repository at this point in the history
  • Loading branch information
nicm committed Apr 22, 2017
1 parent a4eaac3 commit 55cd4c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion screen-write.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 55cd4c7

Please sign in to comment.