hackerb9 / lsix

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

Terminal not supported - Siduck76's st (sixel branch) #56

Open alabnt opened 2 years ago

alabnt commented 2 years ago

On Ubuntu 21.1, st (Siduck76's version sixel branch), I have used the example command to test my terminal, and it shows the image! After trying to use sixel, the command fails. Any ideas as to why this happens?

hackerb9 commented 2 years ago

Can you please be a little more specific? How did you try to use sixel and how did the command fail? Were there any error messages?

If the convert command works but lsix gives an error message, then the problem is most likely that your terminal program is not correctly reporting that it supports sixel graphics.

alabnt commented 2 years ago

I used the convert command on st, and it converted an image. Using lsix told me that the terminal doesn't support sixel.

hackerb9 commented 2 years ago

In the error message, at the last line it should say "Please mention device attribute codes: ...". If you see a "4", then there is a bug in lsix. If not, it is likely that @Siduck has added sixel support to st but hasn't yet changed the "Device Attributes" to report that the terminal supports sixel. Please let me know.

alabnt commented 2 years ago

Oops my bad Let me check real quick Yea it sees to be an issue with siduck. Thanks tho!