Move tput reset

This commit is contained in:
Santiago Lo Coco 2022-01-30 15:46:30 -03:00
parent 32e337b3ad
commit a28f6ae40d
1 changed files with 1 additions and 1 deletions

View File

@ -637,7 +637,6 @@ runScript() {
sed -i -e '/^\[extra\]/,/^Include/ s/^/#/' -e '/^\[community\]/,/^Include/ s/^/#/' /etc/pacman.conf
pacman -Sy --needed --noconfirm dialog 2>&1 | debug
sed -i -e '/\[extra\]/,/Include/ s/^#//' -e '/\[community\]/,/Include/ s/^#//' /etc/pacman.conf
tput reset
fi
if [ ! -f "/etc/dialogrc" ]; then
@ -645,6 +644,7 @@ runScript() {
mv .dialogrc /etc/dialogrc
fi
tput reset
trap 'printAndExit "Received SIGINT signal."' INT
calcAndRun dialog --title "calsais" --msgbox "\"\n${welcomeMsg}\"" 7 WIDTH