Fixed build error detected due to long comment.
This commit is contained in:
parent
cb32928102
commit
1b5dcdf7bc
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -3897,7 +3897,7 @@ print_ascii() {
|
|||
# Calculate size of ascii file in line length / line count.
|
||||
while IFS=$'\n' read -r line; do
|
||||
line=${line//█/ }
|
||||
# This method to strip escape codes doesn't always work but is faster in some cases if run first
|
||||
# Fast method to strip codes
|
||||
strip_escape_codes "${line}" line
|
||||
# Use patterns to replace color codes that the above line did not catch
|
||||
line=${line//\\033\[*([0-9;])[JKmsu]/}
|
||||
|
|
Loading…
Reference in a new issue