mirror of
https://github.com/octoleo/Purse.git
synced 2024-12-28 20:12:38 +00:00
Reset all cursor attributes after coloring
This commit is contained in:
parent
be69cf7099
commit
e3a3c78464
4
pwd.sh
4
pwd.sh
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user