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

Fix: use polite flag for chafa #90

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fiplox
Copy link

@fiplox fiplox commented Jan 22, 2024

Chafa with sixel support is broken with lf. The problem and a fix is described in this post gokcehan/lf#1582

@rxmmah
Copy link

rxmmah commented Feb 14, 2024

its still not working after the commit the images are pixelated alot

@heyzec
Copy link

heyzec commented Feb 29, 2024

Tested, can confirm this works

@UntimelyCreation
Copy link

Tested here too, works fine! Would really like to see this merged

@masroof-maindak
Copy link

@NikitaIvanovV can we please get this merged?

@SammyJenas
Copy link

Also confirming this works, using the Foot terminal

@ykhan21
Copy link

ykhan21 commented Oct 13, 2024

For the time being, you may be able to set a custom preview that is basically chafa -f sixels --polite on.
https://www.nikitaivanov.com/man1/ctpv#Defining_custom_previews

@Rikiub
Copy link

Rikiub commented Oct 16, 2024

A temporal fix is paste in your ~/.config/ctpv/config the following code:

preview image image/* {{
	chafa -s "${w}x${h}" -f sixels --polite on "$f"
}}

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

Successfully merging this pull request may close these issues.

8 participants