add defaults text formatting function

This commit is contained in:
Asif Bacchus 2020-08-14 00:10:48 -06:00
parent 44e57df831
commit 868398858e

View File

@ -188,10 +188,14 @@ textblock() {
printf "%s\n" "$1" | fold -w "$width" -s
}
switchTextblock() {
defaultsTextblock() {
printf "%s%s%s\n" "$yellow" "$1" "$norm"
}
switchTextblock() {
printf "%s%s%s\n" "$cyan" "$1" "$norm"
}
newline() {
printf "\n"
}