From: nicm Date: Sat, 22 Apr 2017 08:33:28 +0000 (+0000) Subject: We need to collect UTF-8 characters so that width != 1 characters are X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3e64f49e6b202f37683fb0849b1c4018318fdbcd;p=openbsd We need to collect UTF-8 characters so that width != 1 characters are correctly flushed. --- diff --git a/usr.bin/tmux/input.c b/usr.bin/tmux/input.c index 6b2706b4c81..15497e6386f 100644 --- a/usr.bin/tmux/input.c +++ b/usr.bin/tmux/input.c @@ -1,4 +1,4 @@ -/* $OpenBSD: input.c,v 1.118 2017/03/22 07:16:54 nicm Exp $ */ +/* $OpenBSD: input.c,v 1.119 2017/04/22 08:33:28 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott @@ -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); }