Fix padding issues with ascii art and \\\
This commit is contained in:
parent
9b0a9f34ad
commit
644aafcadb
Binary file not shown.
After Width: | Height: | Size: 9.5 KiB |
1
neofetch
1
neofetch
|
@ -2128,6 +2128,7 @@ getascii () {
|
||||||
# Turn the file into a variable and strip escape codes.
|
# Turn the file into a variable and strip escape codes.
|
||||||
ascii_strip=$(<"$ascii")
|
ascii_strip=$(<"$ascii")
|
||||||
ascii_strip=${ascii_strip//\$\{??\}}
|
ascii_strip=${ascii_strip//\$\{??\}}
|
||||||
|
ascii_strip=${ascii_strip//\\\\/ }
|
||||||
ascii_strip=${ascii_strip//\\}
|
ascii_strip=${ascii_strip//\\}
|
||||||
|
|
||||||
# Get length of longest line
|
# Get length of longest line
|
||||||
|
|
Reference in New Issue