diff options
author | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-02-06 13:23:01 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@cvs.openbsd.org> | 2017-02-06 13:23:01 +0000 |
commit | fb8314d927540e12afad829e8d01a367c17ddf3b (patch) | |
tree | 4a96cc5e8a3a645df6f6cf8f64cc9b9b95428fd4 /usr.bin/tmux/tty.c | |
parent | 0cad7d8f2241beaf7796d64df8df148a34b34e30 (diff) |
Only redraw the modified character when adding combining characters, not
the whole line.
Diffstat (limited to 'usr.bin/tmux/tty.c')
-rw-r--r-- | usr.bin/tmux/tty.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c index 37a4cd73879..cc609b1d16a 100644 --- a/usr.bin/tmux/tty.c +++ b/usr.bin/tmux/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.225 2017/02/01 09:55:07 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.226 2017/02/06 13:23:00 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -1174,18 +1174,6 @@ tty_cmd_cell(struct tty *tty, const struct tty_ctx *ctx) } 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) { char *buf; |