[F] Fix incorrect ascii length when backslashes are present
https://github.com/dylanaraps/neofetch/pull/1543 https://github.com/hykilpikonna/hyfetch/issues/19
This commit is contained in:
parent
59fa4e5ecc
commit
e44040b2aa
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -4712,7 +4712,7 @@ print_ascii() {
|
||||||
then
|
then
|
||||||
lines=$ascii_lines
|
lines=$ascii_lines
|
||||||
else
|
else
|
||||||
while IFS=$'\n' read -r line; do
|
while IFS=$'\n' read line; do
|
||||||
line=${line//█/ }
|
line=${line//█/ }
|
||||||
# Fast method to strip codes
|
# Fast method to strip codes
|
||||||
strip_escape_codes "${line}" line
|
strip_escape_codes "${line}" line
|
||||||
|
|
Loading…
Reference in a new issue