Add +1 to the height

This commit is contained in:
Dylan 2016-03-29 18:19:34 +11:00
parent 47eba49457
commit 213f23c7c4

View file

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