If images and ascii are off, don't clear the terminal

This commit is contained in:
Dylan 2016-01-29 17:05:42 +11:00
parent 6a3c4d4fb8
commit 0e35c57e21

4
fetch
View file

@ -1914,7 +1914,7 @@ trap 'printf "\033[?25h"; clear; exit' 2
columns=$(tput cols)
# Clear the terminal and hide the cursor
clear
[ "$image" != "off" ] && clear
printf "\033[?25l"
# Get the image
@ -1942,7 +1942,7 @@ colors
bold
# Move the cursor to the top and display the info
printf "\033[0H"
[ "$image" != "off" ] && printf "\033[0H"
printinfo
# Move the cursor to the bottom and Show the cursor