From 2dc704abb6f6b72e3a5d452c821e53084ddcae2c Mon Sep 17 00:00:00 2001 From: Nicholas Marriott Date: Sun, 28 Jun 2026 17:01:52 +0100 Subject: [PATCH] Always set SIXEL aspect ratio to 1:1, GitHub issue 5291 from James Holderness. --- image-sixel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/image-sixel.c b/image-sixel.c index 2e6f247d2..a004d78f8 100644 --- a/image-sixel.c +++ b/image-sixel.c @@ -586,7 +586,7 @@ sixel_print(struct sixel_image *si, struct sixel_image *map, size_t *size) len = 8192; buf = xmalloc(len); - tmplen = xsnprintf(tmp, sizeof tmp, "\033P0;%uq", si->p2); + tmplen = xsnprintf(tmp, sizeof tmp, "\033P9;%uq", si->p2); sixel_print_add(&buf, &len, &used, tmp, tmplen); if (si->set_ra) {