mirror of
https://github.com/tmux/tmux.git
synced 2026-07-03 10:12:31 +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;
|
||||
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) {
|
||||
|
||||
Reference in New Issue
Block a user