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
On Wezterm, chafa -f iterm image.jpg sometimes outputs extra space at the end like so:
Notice that the shell prompt starts at the bottom right of the image above.
On mintty (the terminal called Git Bash that is installed when you install Git for Windows is mintty), most of the time, chafa -f iterm image.jpg does not display an image and instead results in a large amount of whitespace, almost as if it were displaying an empty image. Very rarely it displays a distorted half of the image. The showimg script found here works correctly to show images in mintty (Git Bash) in the iterm format.
The text was updated successfully, but these errors were encountered:
Thanks for filing the issue, @ykhan21. I think @AnonymouX47 is right - the short version is that Chafa is a native Windows app, and the Wezterm binary is a Cygwin app. These are different platforms that don't play well together. We need to add Cygwin builds (or alternatively, other apps should be made native).
Setup:
On Windows:
scoop bucket add main
, runscoop bucket add extras
, and finally runscoop install git wezterm chafa
.scoop install git
. To do this, create a ~/.wezterm.lua file with these contents:See https://wezfurlong.org/wezterm/config/files.html for more details.
Problem:
On Wezterm,
chafa -f iterm image.jpg
sometimes outputs extra space at the end like so:Notice that the shell prompt starts at the bottom right of the image above.
On mintty (the terminal called Git Bash that is installed when you install Git for Windows is mintty), most of the time,
chafa -f iterm image.jpg
does not display an image and instead results in a large amount of whitespace, almost as if it were displaying an empty image. Very rarely it displays a distorted half of the image. Theshowimg
script found here works correctly to show images in mintty (Git Bash) in the iterm format.The text was updated successfully, but these errors were encountered: