Fix padding issues with ascii art and \\\
This commit is contained in:
parent
9b0a9f34ad
commit
644aafcadb
2 changed files with 1 additions and 0 deletions
BIN
ascii/distro/2016-05-15-005811_485x338_scrot.png
Normal file
BIN
ascii/distro/2016-05-15-005811_485x338_scrot.png
Normal file
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
|
||||||
|
|
Loading…
Reference in a new issue