Add +1 to the height
This commit is contained in:
parent
47eba49457
commit
213f23c7c4
2
neofetch
2
neofetch
|
@ -1858,7 +1858,7 @@ getascii () {
|
||||||
|
|
||||||
# Get length of longest line
|
# Get length of longest line
|
||||||
ascii_size=($(awk 'END {print NR}length>max{max=length}END{print max}' <<< "$ascii_strip"))
|
ascii_size=($(awk 'END {print NR}length>max{max=length}END{print max}' <<< "$ascii_strip"))
|
||||||
ascii_height=${ascii_size[0]}
|
ascii_height=$((${ascii_size[0]} + 1))
|
||||||
ascii_length=${ascii_size[1]}
|
ascii_length=${ascii_size[1]}
|
||||||
|
|
||||||
padding="\033[$((ascii_length + gap))C"
|
padding="\033[$((ascii_length + gap))C"
|
||||||
|
|
Reference in New Issue