mirror of https://github.com/octoleo/Purse.git
OpenBSD compatible tput setaf
This commit is contained in:
parent
e10a9721f1
commit
0efd10110b
4
pwd.sh
4
pwd.sh
|
@ -14,7 +14,7 @@ safe="${PWDSH_SAFE:=pwd.sh.safe}"
|
|||
fail () {
|
||||
# Print an error message and exit.
|
||||
|
||||
tput setaf 1 ; echo "Error: ${1}" ; tput sgr0
|
||||
tput setaf 1 1 1 ; echo "Error: ${1}" ; tput sgr0
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
@ -209,6 +209,6 @@ else
|
|||
read_pass "$@"
|
||||
fi
|
||||
|
||||
tput setaf 2 ; echo "
|
||||
tput setaf 2 2 2 ; echo "
|
||||
Done" ; tput sgr0
|
||||
|
||||
|
|
Loading…
Reference in New Issue