iterm2 image rendring should work now.
This commit is contained in:
parent
7e042c4b5a
commit
b40b0b1d4f
3
fetch
3
fetch
|
@ -1350,8 +1350,7 @@ if [ "$image" != "off" ]; then
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"iterm2")
|
"iterm2")
|
||||||
base64="$(printf "%s" "$img" | base64)"
|
printf "%b%s" "\033]1337;File=width=${imgsize}px;height=${imgsize}px;inline=1:$(base64 < "$img")"
|
||||||
printf "%b%s" "\e[1337;File=width=${imgsize}px;height=${imgsize}px;inline=1:${base64}"
|
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
|
|
Reference in New Issue