From ba8b15d67592c3dfde264ccd441699377948c4cf Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Mon, 23 Nov 2020 20:10:55 +0100 Subject: sixel: change default max size to 10000x10000 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It used to be the size of the window. This caused images to be cropped when the application emitting them didn’t change the max size. --- terminal.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'terminal.c') diff --git a/terminal.c b/terminal.c index f78e103c..349fd9bf 100644 --- a/terminal.c +++ b/terminal.c @@ -1109,6 +1109,8 @@ term_init(const struct config *conf, struct fdm *fdm, struct reaper *reaper, }, .sixel = { .palette_size = SIXEL_MAX_COLORS, + .max_width = SIXEL_MAX_WIDTH, + .max_height = SIXEL_MAX_HEIGHT, }, .hold_at_exit = conf->hold_at_exit, .shutdown_cb = shutdown_cb, -- cgit v1.3