Commit ffb2e0af authored by Dylan's avatar Dylan

Added xoffset

parent 8094dd9c
...@@ -2747,6 +2747,7 @@ if [ "$image" != "off" ] && [ "$image" != "ascii" ]; then ...@@ -2747,6 +2747,7 @@ if [ "$image" != "off" ] && [ "$image" != "ascii" ]; then
;; ;;
"iterm2") "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")" printf "%b%s\a\n" "\033]1337;File=width=${image_size}px;height=${image_size}px;inline=1:$(base64 < "$img")"
;; ;;
esac esac
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment