If images and ascii are off, don't clear the terminal
This commit is contained in:
parent
6a3c4d4fb8
commit
0e35c57e21
1 changed files with 2 additions and 2 deletions
4
fetch
4
fetch
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue