1
0
mirror of https://github.com/octoleo/Purse.git synced 2024-06-01 06:00:47 +00:00

Reset all cursor attributes after coloring

This commit is contained in:
drduh 2015-07-03 12:37:16 -04:00
parent be69cf7099
commit e3a3c78464

4
pwd.sh
View File

@ -13,7 +13,7 @@ safe=${PWDSH_SAFE:=pwd.sh.safe}
fail () {
# Print an error message and exit.
tput setaf 1 ; echo "Error: ${1}"
tput setaf 1 ; echo "Error: ${1}" ; tput sgr0
exit 1
}
@ -163,5 +163,5 @@ else
read_pass
fi
tput setaf 2 ; echo "Done"
tput setaf 2 ; echo "Done" ; tput sgr0