mirror of
https://github.com/tmux/tmux.git
synced 2025-09-02 05:21:10 +00:00
Only redraw the modified character when adding combining characters, not
the whole line.
This commit is contained in:
12
tty.c
12
tty.c
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user