You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 10, 2025. It is now read-only.
This is mostly an inconsistency between how kitty normally behaves with images, and how it seems to work in mdcat.
if i mdcat a file that has an image too wide for the current kitty window, the image just doesn't load. however, if i kitty icat that same image, it shows up, scaled down to fit the terminal window appropriately.
is this intended mdcat behavior?
The text was updated successfully, but these errors were encountered:
I don't think so, but then I don't use kitty and didn't write this part of mdcat.
That said I guess it should scale down, and I think it used to when this feature was initially contributed to mdcat.
Perhaps I broke it when refactoring or perhaps by updating the image crate but I don't know why or how. In any case I don't have time to fix it; if you'd like it fixed please do open a pull request.
@Fidgetcetera Thanks for reporting this. I've opened a PR aiming to fix your issue in general. You may have a look in my PR and test my fix. Additionally, the resizing may not work as expected and check my PR for the details.
This is mostly an inconsistency between how kitty normally behaves with images, and how it seems to work in mdcat.
if i mdcat a file that has an image too wide for the current kitty window, the image just doesn't load. however, if i
kitty icat
that same image, it shows up, scaled down to fit the terminal window appropriately.is this intended mdcat behavior?
The text was updated successfully, but these errors were encountered: