Sixel preview doesn't work after upgrading `chafa` to version 1.14
Closed this issue · 4 comments
Just recently I noticed that my the sixel image preview stopped working. Instead of showing the image it just shows a bunch of characters on the preview space. Don't know exactly where is the problem since chafa is capable of showing the image in the terminal if I open it out of the file manager. Other previewers like ctpv also show the same problem. Both compiled and the packaged version that comes with Arch behaves the same way.
Details:
System - Arch Linux
Kernel - 6.7.0-arch3-1
Terminal emulator - foot version: 1.16.2 +pgo +ime +graphemes -assertions
lf version - lf 31-1 Arch package
Starting from version 1.14.0, chafa
now disables polite mode by default, which means additional terminal sequences are prepended to the previewer output, causing lf
to not treat it as sixel data.
To fix this, please use the --polite on
option when using chafa
. This is also now included in the wiki example.
I will keep this issue pinned for a while.
i am using ctpv as the previewer in lf, i did set sixel true
but photos are showing bad.
how can i pass --polite on in my case?
I think this has been pinned long enough, and everyone interested is now aware that the issue is actually with chafa
/ctpv
and not with lf
.
Closing now.