colortest: Small optimization
This commit is contained in:
parent
719384fe5b
commit
d0d9bd2286
@ -25,8 +25,7 @@ printc() {
|
|||||||
# $1: Heading
|
# $1: Heading
|
||||||
printh() {
|
printh() {
|
||||||
[ -z "$1" ] && return 1
|
[ -z "$1" ] && return 1
|
||||||
printf "$padding%${teststringlen}s$padding" "$1"
|
printf "$padding%${teststringlen}s$padding$spacer" "$1"
|
||||||
printf "$spacer"
|
|
||||||
}
|
}
|
||||||
println() {
|
println() {
|
||||||
printf "\\n"
|
printf "\\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user