iterm2 image rendring should work now.

This commit is contained in:
Dylan 2016-01-19 16:42:52 +11:00
parent 7e042c4b5a
commit b40b0b1d4f

3
fetch
View file

@ -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