From 146ee3f6f8ee2629c6a88b6900a71f3e6fd14e4d Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sat, 30 Nov 2019 09:47:53 +0000 Subject: [PATCH] Don't write image as text yet. --- screen-write.c | 14 -------------- 1 file changed, 14 deletions(-) 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;