mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-10-04 09:08:38 +00:00
iterm2 image rendring should work now.
This commit is contained in:
3
fetch
3
fetch
@@ -1350,8 +1350,7 @@ if [ "$image" != "off" ]; then
|
||||
;;
|
||||
|
||||
"iterm2")
|
||||
base64="$(printf "%s" "$img" | base64)"
|
||||
printf "%b%s" "\e[1337;File=width=${imgsize}px;height=${imgsize}px;inline=1:${base64}"
|
||||
printf "%b%s" "\033]1337;File=width=${imgsize}px;height=${imgsize}px;inline=1:$(base64 < "$img")"
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
|
Reference in New Issue
Block a user