mirror of
https://github.com/tmux/tmux.git
synced 2025-01-08 08:58:47 +00:00
We need to collect UTF-8 characters so that width != 1 characters are
correctly flushed.
This commit is contained in:
parent
30348edc7c
commit
bcab77e266
2
input.c
2
input.c
@ -2011,7 +2011,7 @@ input_utf8_close(struct input_ctx *ictx)
|
|||||||
(int)ud->size, ud->data, ud->width);
|
(int)ud->size, ud->data, ud->width);
|
||||||
|
|
||||||
utf8_copy(&ictx->cell.cell.data, ud);
|
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);
|
return (0);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user