xoffset now also moves the text

This commit is contained in:
Dylan 2016-03-13 10:49:57 +11:00
parent 8094dd9cfa
commit 81337b5a2e
2 changed files with 5 additions and 1 deletions

View file

@ -1942,7 +1942,7 @@ getimage () {
case "$image_position" in
"left")
# Padding is half the terminal width + gap
padding="\033[$((image_size / font_width + gap))C"
padding="\033[$((image_size / font_width + gap + xoffset/font_width))C"
;;
"right")