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
Set the following in the ~/.wezterm.lua config file to have bash as the default shell in Wezterm: config.default_prog = { 'c:/users/USERNAME/scoop/apps/git/current/bin/bash.exe -i -l' }.
Start Wezterm. Observe that chafa -f iterm -s 50x50 image.jpg works correctly.
Run ls image.jpg | fzf --preview 'chafa -s 50x50 {}'. This results in an empty preview window.
I don't know if this is related to this. chafa was recommended over wezterm imgcat this the issue, but I don't know if Wezterm interprets chafa -f iterm as wezterm imgcat.
The text was updated successfully, but these errors were encountered:
Adding image support on Windows wasn't as trivial as I initially thought. Since I'm not a Windows user and have limited knowledge of the platform, I wasn't able to do it.
I have limited knowledge of this myself, but it could be that Windows ConPTY might be interfering with the image previews, according to my understanding of this issue (mintty/mintty#1252). The program that create to output sixel graphics need to be compiled with cygwin to avoid ConPTY and other Windows APIs.
For what it's worth, on Windows, the mintty terminal (which is the Git Bash terminal on Windows) supports sixel and iterm graphics (https://mintty.github.io/) and Wezterm supports iterm graphics via the wezterm imgcat command.
Also, it seems that the symbols format works when previewing with chafa, but the output image is not pretty. ls image.jpg | fzf --preview 'chafa -s 50x50 -f symbols {}'
man fzf
)Info
Problem / Steps to reproduce
scoop install git wezterm fzf chafa
config.default_prog = { 'c:/users/USERNAME/scoop/apps/git/current/bin/bash.exe -i -l' }
.chafa -f iterm -s 50x50 image.jpg
works correctly.ls image.jpg | fzf --preview 'chafa -s 50x50 {}'
. This results in an empty preview window.The image used for testing is: image.jpg.
I don't know if this is related to this. chafa was recommended over wezterm imgcat this the issue, but I don't know if Wezterm interprets chafa -f iterm as wezterm imgcat.
The text was updated successfully, but these errors were encountered: