Fix image off prompt location

This commit is contained in:
Dylan Araps 2016-10-12 17:55:51 +11:00
parent 3d903a5bad
commit ee3630af40
1 changed files with 1 additions and 1 deletions

View File

@ -3234,7 +3234,7 @@ main() {
fi
# Set cursor position next to ascii art
printf "\033[$((${lines:-0} - ${prompt_loc:-4}))A"
printf "\033[$((${lines:-4} - ${prompt_loc:-4}))A"
# Reset horizontal cursor position
printf "\033[9999999D"