hackerb9 / lsix

Like "ls", but for images. Shows thumbnails in terminal using sixel graphics.
GNU General Public License v3.0
3.99k stars 129 forks source link

wsltty: Images are displayed on a single line at the top of the terminal and then disappear #14

Open jevring opened 5 years ago

jevring commented 5 years ago

When I use lsix, I would expect the images to display after my current line, and for that display to be persistent. That's not what happens. The images show up at the top of my terminal, one line at a time, "over" the text that exists there, and then disappears, leaving the terminal intact (i.e. it does not replace the text, it just displays the images like an overlay above the text). Is this due to lsix, or is it due to my terminal? I'm using wsltty 1.8.4 on Windows 10.

hackerb9 commented 5 years ago

Hmm... I thought I had responded to this but perhaps not. Please try running lsix with the TERM environment variable set to mlterm:

TERM=mlterm lsix 

If that works, it means wsltty has the same SIXEL bug as mlterm and I should work around it the same way. Please let me know your results.

jevring commented 5 years ago

Hi. I just tested this and it works! I'm not sure what that means for lsix in the long run, but at least it works =)