Commit Graph
2 Commits
Author SHA1 Message Date
Rin Okuyama 8d7db37efc For sixel, no need to round image size to multiple of character size.
With this fix combined with fix to libsixel:

https://github.com/saitoha/libsixel/pull/170

browsing on slow machines (e.g., when floating-point calculation is
emulated by kernel) gets significantly speed up.

Note that if i->cache->a_width (i->cache->a_height) is zero, width
(height) should be set to zero. Otherwise, image in screen boundary
(i.e., partially displayed) becomes strangely resized.
2022-09-02 21:07:11 +09:00
Rin Okuyama 01b8ac418b Display resized image for OSC 5379 (mlterm).
Previously, some images, e.g., Google logo on its top page, are not
displayed at all for OSC 5379 (mlterm).
2022-09-02 17:47:16 +09:00