From a28f6ae40dfa5280c9d638631f56b89176867266 Mon Sep 17 00:00:00 2001 From: Santiago Lo Coco Date: Sun, 30 Jan 2022 15:46:30 -0300 Subject: [PATCH] Move tput reset --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 7da3383..b84ea80 100755 --- a/install.sh +++ b/install.sh @@ -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