diff --git a/screen-write.c b/screen-write.c index 441487d5..05bb6467 100644 --- a/screen-write.c +++ b/screen-write.c @@ -1677,20 +1677,6 @@ void screen_write_sixelimage(struct screen_write_ctx *ctx, struct sixel_image *si) { struct tty_ctx ttyctx; - struct screen *s = ctx->s, *image; - u_int sx = screen_size_x(s), sy = screen_size_y(s); - - image = sixel_to_screen(si); - if (image == NULL) - return; - - sx = sx - s->cx; - if (sx > screen_size_x(image)) - sx = screen_size_x(image); - sy = sy - s->cx; - if (sy > screen_size_x(image)) - sy = screen_size_x(image); - screen_write_fast_copy(ctx, image, 0, 0, sx, sy); screen_write_initctx(ctx, &ttyctx); ttyctx.ptr = si;