Made comment accurate

This commit is contained in:
Syphist 2020-08-25 04:49:06 -05:00
parent 10cf43e53a
commit 86e266e5b7

View file

@ -3878,7 +3878,7 @@ print_ascii() {
while IFS=$'\n' read -r line; do
line=${line//\\\\/\\}
line=${line//█/ }
# Use Regex through sed to remove color and formatting codes
# Use patterns to replace color codes
line=${line//\\033\[*([0-9;])[JKmsu]/}
line=${line//\[*([0-9;])[JKmsu]/}
((++lines,${#line}>ascii_len)) && ascii_len="${#line}"