-
Notifications
You must be signed in to change notification settings - Fork 329
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
sixel image preview not working with script but outputs multiple lines of characters when quitting lf #1636
Comments
I have the same issue, even when using the exact preview script from the lf wiki. All I get is a line of strings like this:
Used terminal: foot config:
contents of sixelPreview.sh
I can run chafa just fine outside of lf |
Since the problems wasn't solved so far, I just switched to fff. It works very similar to lf. And because it is written entirely in Thus, I forked the fff repo and implemented a simple file and image preview using Maybe someone of the lf guys can still solve the original issue posted here. I, myself, have no experience programming in Go... |
Are you using lfcd? I had the same issue, but solved it by updating to the latest version (r32). (See this thread and #1451.) You may need to build it from source, as not every distribution has packaged the latest version. |
@ericmurphyxyz Thanks for the investigation, I can also reproduce with |
I know here are multiple issues concerning image preview, but not the exact same outcome.
I use a preview script taken from the wikipage:
My config file is set up with
sixel
and sourcing the script:But i get no preview and when I quit lf the terminal is flooded with characters:
From inside my terminal the command
chafa -f sixel -s 100 --animate off --polite on "file"
works fine, also the simple oneimg2sixel "file"
.Maybe I'm missing something obvious, but I've tried out different things.
ctpv
is also not working correctly when trying to usechafa
for unclear reasons (even the patched version). But since it is not as good configurable, I would be happy with the preview script.My setup:
Manjaro Linux
chafa 1.14
alacritty terminal with sixel support (also not working in wezterm)
lf r31
The text was updated successfully, but these errors were encountered: