docs: update

This commit is contained in:
Dylan Araps 2019-09-26 21:11:09 +03:00
parent bc36bb500f
commit b799006210

3
pfetch
View File

@ -928,9 +928,6 @@ get_ascii() {
# Iterate over each line of the ascii art to retrieve the above # Iterate over each line of the ascii art to retrieve the above
# information. The 'sed' is used to strip 'm' color codes from # information. The 'sed' is used to strip 'm' color codes from
# the ascii art so they don't affect the width variable. # the ascii art so they don't affect the width variable.
#
# The " " acts as the padding between the ascii art and the text as
# it appends 3 spaces to the end of each line.
while read -r line; do while read -r line; do
: $((ascii_height+=1)) : $((ascii_height+=1))
ascii_width=$((${#line} > ascii_width ? ${#line} : ascii_width)) ascii_width=$((${#line} > ascii_width ? ${#line} : ascii_width))