From: Araki K. <ara...@us...> - 2018-03-11 05:16:03
|
Hi, > I noticed mlterm supports the iterm2's OSC1337 inline images, which I > actually prefer to sixel's due to a number of reasons. However, the > preserveAspectRatio attribute is not currently supported. > From the iterm docs: > preserveAspectRatio: If set to 0, then the image's inherent aspect ratio > will not be respected; otherwise, it will fill the specified width and > height as much as possible without stretching. Defaults to 1. > I modified ranger (http://ranger.nongnu.org/), which supports inline > previews via a number of methods to use OSC1337 on mlterm as opposed to > sixel. This doesn't require image recoding on the ranger side, which is > a big plus. The image is currently filled inside the ranger's preview > area, but preserveAspectRatio is needed to correctly display the image > in this case. > Would it be possible to implement also this attribute? Sorry for my late reply. Mails from mlterm-dev-en list didn't reached to me for months. Mlterm now supports OSC1337 'preserveAspectRatio' option on x11. Please check http://bitbucket.org/arakiken/mlterm/get/tip.tar.gz Regards, --- Araki Ken ara...@us... |