Added xoffset

This commit is contained in:
Dylan 2016-03-13 09:55:10 +11:00
parent 8094dd9cfa
commit ffb2e0afbf

View file

@ -2747,6 +2747,7 @@ if [ "$image" != "off" ] && [ "$image" != "ascii" ]; then
;;
"iterm2")
printf "\033[${xoffset}C"
printf "%b%s\a\n" "\033]1337;File=width=${image_size}px;height=${image_size}px;inline=1:$(base64 < "$img")"
;;
esac