NikitaIvanovV / ctpv

Image previews for lf file manager
https://www.nikitaivanov.com/man1/ctpv
MIT License
264 stars 23 forks source link

lf goes insane when using sixel #74

Closed Goosegit11 closed 11 months ago

Goosegit11 commented 11 months ago

ctpv config:

set autochafa
set chafasixel

also set sixel true lf-sixel repo said that lf now supports sixel and you only need this in config to use it. sadly, it didn't work for me - it was just strange symbols in preview for me. my terminal, st, is patched with sixel support, and it works when I try it with plain chafa. so yeah, it's kinda strange, but I moved on to the lf-sixel, and that's why it gives error about sixel on launch - I didn't remove the "sixel true" line from config. I think it's okay and don't interfere with lf usage.

system is arch linux.

https://github.com/NikitaIvanovV/ctpv/assets/89806596/765d38f7-4552-49ff-ac97-6e5dfae8d9b8

Goosegit11 commented 11 months ago

after another few days of tinkering (tried lfimg-sixel, no luck), I found out that the problem is with st terminal. with WezTerm everything is okay. now I wonder how to fix this...