Always set SIXEL aspect ratio to 1:1, GitHub issue 5291 from James Holderness.

This commit is contained in:
Nicholas Marriott
2026-06-28 17:01:52 +01:00
parent b0db912bde
commit 2dc704abb6

View File

@@ -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) {