snacks.image supported in WSL2? #2155
Unanswered
michaelrommel
asked this question in
Q&A
Replies: 2 comments 4 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
-
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
I am using Wezterm on Windows to connect to a local WSL2 domain (not via SSH). When using yazi, image preview does work.
Running in neovim 0.12 the image does not get displayed and even after setting TERM to wezterm and SNACKS_WEZTERM=true checkhealth reports:
There is an empty rectangle with a rounded border displayed, 1 cell wide and 30 cells in height (I set the max width and height to 80x30)
It seems that the calculation of the Windows size is not working. When I connect to the same WSL instance via SSH, then an image is displayed, but at a wrong place and the size is still not working and is evaluated to 0x0.
Has anyone had luck with snacks.image in WSL2?
Beta Was this translation helpful? Give feedback.
All reactions