edluffy / hologram.nvim

👻 A cross platform terminal image viewer for Neovim. Extensible and fast, written in Lua and C. Works on macOS and Linux.
MIT License
1.29k stars 31 forks source link

Fix: make it work for larger images #8

Closed romgrk closed 2 years ago

romgrk commented 2 years ago

Closes #7 Closes #5 (I think?)

This PR fixes one error when calling hologram.get_ext_loclist, and fixes the transmission code for larger files.

Screenshot from 2022-02-12 18-49-51

Reference: https://sw.kovidgoyal.net/kitty/graphics-protocol/#remote-client

edluffy commented 2 years ago

Thanks for the PR. Merged.