-
Notifications
You must be signed in to change notification settings - Fork 29
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
Multiple image support #74
Comments
Hello, I do have that in the roadmap, but it requires some restructuring of my code so it will take some time. Are you doing like a collage?
really? rip |
Nice, though, multiple images won't work with everything. Probably only x11, iterm2 and maybe wayland. |
hey, I have a working multiple image implementation for X11 on the |
@jstkdng Amazing work, thanks a lot! ueberzugpp-multi.mp4Can I contribute with a small change to crop the images? Right now I make sure they never get out of bounds, but this means they get resized. It would look like this: https://gist.ro/kitty-crop.mp4 Thanks again for your work! |
Sure, open a PR and we can look over the changes. Are you using OG |
No, the original won't be supported, just ueberzugpp, kitty graphics protocol and sixels. |
Does kitty and sixel even work on neovim? |
Yep, the second link is kitty's normal protocol, but I got one with unicode placeholders working as well. The placeholder one has the same cropping issue, but works with tmux, so I'm considering doing the cropping myself... |
How, |
Hmm, interesting, it works for me, doing it like this: https://github.com/3rd/image.nvim/blob/master/lua/image/backends/kitty/helpers.lua#L42 |
@jstkdng Got the experimental version working and put it out there, there's an ongoing discussion on it here: https://www.reddit.com/r/neovim/comments/14mjsvr/adding_image_support_to_neovim_kitty_tmux_amazing |
I see, it seems kitty is only supported with the unicode placeholders. |
Works without placeholders! |
Hmmmm, unless the neovim terminal is somehow different than editor buffers then I don't understand. |
Hey, I'm working on a way to add image support to Neovim, so I picked ueberzugpp as the starting rendering backend and got a nice first version working.
I noticed that there is no multiple image support, and the image identifiers are not really used, when adding an image the canvas is cleared and only that image is rendered, and clear clears everything.
Is multiple image support on the roadmap?
It works great otherwise, and the tmux integration is amazing.
It does crash when sending multiple commands quickly, but that's workable.
Thanks!
The text was updated successfully, but these errors were encountered: