Fixed images being cut off at the top.

This commit is contained in:
dylan araps 2016-01-05 19:45:19 +11:00
parent 5182deeec1
commit 18d838233f
1 changed files with 2 additions and 1 deletions

View File

@ -991,7 +991,8 @@ columns=${termsize#* }
[ "$images" == "on" ] && getimage [ "$images" == "on" ] && getimage
# Clear the terminal and hide the cursor # Clear the terminal and hide the cursor
printf "\033c\e[?25l" printf "\e[?25l"
clear
# Disable line wrap # Disable line wrap
[ $line_wrap == "off" ] && printf '\e[?7l' [ $line_wrap == "off" ] && printf '\e[?7l'