add defaults text formatting function
This commit is contained in:
parent
44e57df831
commit
868398858e
@ -188,10 +188,14 @@ textblock() {
|
|||||||
printf "%s\n" "$1" | fold -w "$width" -s
|
printf "%s\n" "$1" | fold -w "$width" -s
|
||||||
}
|
}
|
||||||
|
|
||||||
switchTextblock() {
|
defaultsTextblock() {
|
||||||
printf "%s%s%s\n" "$yellow" "$1" "$norm"
|
printf "%s%s%s\n" "$yellow" "$1" "$norm"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
switchTextblock() {
|
||||||
|
printf "%s%s%s\n" "$cyan" "$1" "$norm"
|
||||||
|
}
|
||||||
|
|
||||||
newline() {
|
newline() {
|
||||||
printf "\n"
|
printf "\n"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user