Menu

#83 sixel output corruption with longcat

v1.0 (example)
closed
nobody
None
5
2020-01-18
2019-10-11
No

I've observed longcat's sixel output is not displayed correctly on mlterm. (confirmed on macOS and Ubuntu Linux).
I've found commenting out L543 in common/c_sixel.c fixes the problem phenomenologically, but I don't know what is the correct fix.

diff -r 60408b8533b9 common/c_sixel.c
--- a/common/c_sixel.c  Sun Oct 06 22:57:52 2019 +0900
+++ b/common/c_sixel.c  Sat Oct 12 02:59:26 2019 +0900
@@ -540,7 +540,7 @@
          */
         if (h >= pix_y + 11) {
           h = h / 6 * 6;

-          new_height = h;
+          //new_height = h;
         }
       } else {
         new_width = width;

You can get longcat program from https://github.com/mattn/longcat

Regards,

2 Attachments

Discussion

  • Araki Ken

    Araki Ken - 2020-01-18
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB