arakiken / mlterm

Other
147 stars 13 forks source link

transparent sixels not working #81

Open OpenSourceJesus opened 6 months ago

OpenSourceJesus commented 6 months ago

transparent area of sixels is always white (the background color). setting the header to P0;1;0q fixes rendering in Foot terminal, but not MLTerm.

https://codeberg.org/dnkl/foot/issues/391

The test sixel below works in Foot. note: the start and end escape bytes are omitted

P0;1;0q"1;1;32;32#0;2;0;0;0#1;2;33;0;0#2;2;33;33;0#3;2;33;33;33#4;2;67;33;0#5;2;67;33;33#6;2;67;67;33#0!10?__!6O?_$#2!12?_!5?_$#3!13?_???_$#5!14?___-#0?_WGG??A`P?A?CGGCCO?O`AC???GGo$#3??_!7?o?_!4?__O?A!5?O#1O$#4???!4_wKICLH!4rHHCEKwoo!4_$#5???OO!5?@_!7?`#6_$#2!5?OOCQCG?QGCCGQEIHOCG?OO$#6!9?_#1AOC-#0?@EG@O?GRc_???_!4?_SRGC?OHGE@$#2??@CAATP?W?KC_???Ck?GGTYBI?@@$#1???@G?A?C?G!4?_???G?C??O@?C$#4???ACLGEG?Oow^^^~wOO??A@KCEA$#6!9?BAA@!5?AAB$#3!10?D@A!4?A@D$#5!17?@-#0!10?o!7?@_$#2!11?A!6?O$#5!11?s?@@$#1!11?@#4~}}~~~g$#3!11?G-#0!10?BC?!5GKB$#5!11?@A#2E??B$#3!11?A#4@@DDCFB$#1!12?C?AA-
arakiken commented 5 months ago

Thnaks. I support it -> https://github.com/arakiken/mlterm/commit/5123203273ace07c26e3247bee7e36bd247d5873