From: nicm Date: Sat, 22 Apr 2017 10:30:56 +0000 (+0000) Subject: Can't collect UTF-8 characters of more than one byte at the moment. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=545321a54716e9cbff936a72d8af821bc866dd72;p=openbsd Can't collect UTF-8 characters of more than one byte at the moment. --- diff --git a/usr.bin/tmux/screen-write.c b/usr.bin/tmux/screen-write.c index cd8a8b039fe..0b89954deaf 100644 --- a/usr.bin/tmux/screen-write.c +++ b/usr.bin/tmux/screen-write.c @@ -1,4 +1,4 @@ -/* $OpenBSD: screen-write.c,v 1.116 2017/03/07 13:48:28 nicm Exp $ */ +/* $OpenBSD: screen-write.c,v 1.117 2017/04/22 10:30:56 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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;