diff --git a/bin/scripts/test-fonts.sh b/bin/scripts/test-fonts.sh index 4fe758200..6b55e4724 100755 --- a/bin/scripts/test-fonts.sh +++ b/bin/scripts/test-fonts.sh @@ -23,6 +23,7 @@ function print-decimal-unicode-range() { local allChars="" local allCodes="" local wrapAt=16 + [[ "$wrappingValue" =~ ^[0-9]+$ ]] && [ "$wrappingValue" -gt 2 ] && wrapAt="$wrappingValue" local topLineStart="${bgColorBorder}╔═══" local topLineMiddle="═══╦═══" local topLineEnd="═══╗${reset_color}" @@ -182,4 +183,6 @@ function test-fonts() { echo; echo } +wrappingValue="$1" + test-fonts