mirror of
https://github.com/dylanaraps/neofetch.git
synced 2026-01-09 23:56:22 +00:00
Add +1 to the height
This commit is contained in:
2
neofetch
2
neofetch
@@ -1858,7 +1858,7 @@ getascii () {
|
||||
|
||||
# Get length of longest line
|
||||
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]}
|
||||
|
||||
padding="\033[$((ascii_length + gap))C"
|
||||
|
||||
Reference in New Issue
Block a user