NikitaIvanovV / ctpv

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

`chafa` v1.14.0 messes up sixel image previews #94

Open UtkarshVerma opened 4 months ago

UtkarshVerma commented 4 months ago

In the new versions of chafa, some extra sixel escape sequences are sent which messes up image previews in lf. The fix is to add an extra --polite=on to avoid sending them.

Is there any way I can append these args to chafa?

For now, I wrote a wrapper for chafa and placed in in my ~/.local/bin folder.

#!/bin/sh

exec /usr/sbin/chafa --polite=on "$@"
fdnt7 commented 2 months ago

This should be resolved by #90 when it's merged.