Made comment accurate
This commit is contained in:
parent
10cf43e53a
commit
86e266e5b7
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -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}"
|
||||
|
|
Loading…
Reference in a new issue