aboutsummaryrefslogtreecommitdiff
path: root/tty.c
diff options
context:
space:
mode:
authornicm <nicm>2017-02-06 13:23:00 +0000
committernicm <nicm>2017-02-06 13:23:00 +0000
commit3fd34e70e531314558a182b85411c21cba4eb0d1 (patch)
treeb154be1b6e557bbc180d3a853964248577edab42 /tty.c
parentd091253a5d240fe867cf966a6d3edc0ddd028d1a (diff)
downloadrtmux-3fd34e70e531314558a182b85411c21cba4eb0d1.tar.gz
rtmux-3fd34e70e531314558a182b85411c21cba4eb0d1.tar.bz2
rtmux-3fd34e70e531314558a182b85411c21cba4eb0d1.zip
Only redraw the modified character when adding combining characters, not
the whole line.
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/tty.c b/tty.c
index f50fbdb2..0230a60e 100644
--- a/tty.c
+++ b/tty.c
@@ -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;