Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chafa v1.14.0 messes up sixel image previews #94

Open
UtkarshVerma opened this issue Mar 14, 2024 · 3 comments
Open

chafa v1.14.0 messes up sixel image previews #94

UtkarshVerma opened this issue Mar 14, 2024 · 3 comments

Comments

@UtkarshVerma
Copy link

UtkarshVerma commented Mar 14, 2024

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 "$@"
@UtkarshVerma UtkarshVerma changed the title chafa v1.14.0 messes up image previews chafa v1.14.0 messes up sixel image previews Mar 14, 2024
@fdnt7
Copy link

fdnt7 commented May 7, 2024

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

@elvindesouza
Copy link

This has not been merged yet, neither has the PR updating the README(lf supports sixel now). Has the project been abandoned?

@BaconIsAVeg
Copy link

After spending an hour researching this and looking through the lf/ctpv/chafa repo issues, in the end I simply downgraded chafa to 1.12.4.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants