artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cb1db41
)
We need to collect UTF-8 characters so that width != 1 characters are
author
nicm
<nicm@openbsd.org>
Sat, 22 Apr 2017 08:33:28 +0000
(08:33 +0000)
committer
nicm
<nicm@openbsd.org>
Sat, 22 Apr 2017 08:33:28 +0000
(08:33 +0000)
correctly flushed.
usr.bin/tmux/input.c
patch
|
blob
|
history
diff --git
a/usr.bin/tmux/input.c
b/usr.bin/tmux/input.c
index
6b2706b
..
15497e6
100644
(file)
--- a/
usr.bin/tmux/input.c
+++ b/
usr.bin/tmux/input.c
@@
-1,4
+1,4
@@
-/* $OpenBSD: input.c,v 1.11
8 2017/03/22 07:16:54
nicm Exp $ */
+/* $OpenBSD: input.c,v 1.11
9 2017/04/22 08:33:28
nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@
-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_c
ell
(&ictx->ctx, &ictx->cell.cell);
+ screen_write_c
ollect_add
(&ictx->ctx, &ictx->cell.cell);
return (0);
}