[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:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user