-
Notifications
You must be signed in to change notification settings - Fork 64
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
[Feature request]Add the ability to remove individual images. #219
Comments
Thanks for filing the issue. This wouldn't be too hard to do, since we already support identifiers at the API level. However, it would only work with the Kitty protocol. The command line could look something like this: Show image(s): Would this do what you want, or are you using |
Thanks for the reply, |
Ah, the options don't exist yet, it's just my suggestion for how we could implement this. Based on your description of the issue, it sounds like what you need. Are you calling chafa from another program? |
Bummer, i hope you have time to implement it soon, fingers crossed it doesn't take too much time.
yeah, i am, it's a rust program i've been working on for a while now. In a nutshell, i'm not directly using chafa to display images in the terminal, since this would take too much time. Instead, i'm caching the output of chafa for each image, and then to display the image i just print the cached output to the terminal, which takes significantly less time than just directly using chafa. Edit: Actually, now that i think about it, will this method work with the |
I think it could work, but only with the Kitty protocol. Chafa also supports symbol mosaics, sixels and iTerm, and it wouldn't work with those. |
The
--clear
option clears the entire terminal window, but i want to keep the terminal contents and only remove a specific image, similar to Ueberzugpp'sidentifier
option.OS: Arch linux
Terminal: kitty
The text was updated successfully, but these errors were encountered: