Only redraw the modified character when adding combining characters, not

the whole line.
This commit is contained in:
nicm
2017-02-06 13:23:00 +00:00
parent d091253a5d
commit 3fd34e70e5
3 changed files with 26 additions and 25 deletions

12
tty.c
View File

@ -1173,18 +1173,6 @@ tty_cmd_cell(struct tty *tty, const struct tty_ctx *ctx)
tty_cell(tty, ctx->cell, wp);
}
void
tty_cmd_utf8character(struct tty *tty, const struct tty_ctx *ctx)
{
struct window_pane *wp = ctx->wp;
/*
* Cannot rely on not being a partial character, so just redraw the
* whole line.
*/
tty_draw_pane(tty, wp, ctx->ocy, ctx->xoff, ctx->yoff);
}
void
tty_cmd_setselection(struct tty *tty, const struct tty_ctx *ctx)
{