From 545321a54716e9cbff936a72d8af821bc866dd72 Mon Sep 17 00:00:00 2001 From: nicm Date: Sat, 22 Apr 2017 10:30:56 +0000 Subject: [PATCH] Can't collect UTF-8 characters of more than one byte at the moment. --- usr.bin/tmux/screen-write.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; -- 2.20.1