mirror of
https://github.com/tmux/tmux.git
synced 2026-10-06 17:49:52 +00:00
Always set SIXEL aspect ratio to 1:1, GitHub issue 5291 from James Holderness.
This commit is contained in:
@@ -586,7 +586,7 @@ sixel_print(struct sixel_image *si, struct sixel_image *map, size_t *size)
|
|||||||
len = 8192;
|
len = 8192;
|
||||||
buf = xmalloc(len);
|
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);
|
sixel_print_add(&buf, &len, &used, tmp, tmplen);
|
||||||
|
|
||||||
if (si->set_ra) {
|
if (si->set_ra) {
|
||||||
|
|||||||
Reference in New Issue
Block a user