Fix padding issues with ascii art and \\\

This commit is contained in:
Dylan 2016-05-15 00:59:37 +10:00
parent 9b0a9f34ad
commit 644aafcadb
2 changed files with 1 additions and 0 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

View File

@ -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