Merge branch 'master' into android2
This commit is contained in:
commit
d1ef3ab4e8
1 changed files with 5 additions and 2 deletions
7
neofetch
7
neofetch
|
@ -2750,6 +2750,9 @@ bold() {
|
|||
|
||||
getlinebreak() {
|
||||
linebreak=" "
|
||||
|
||||
# Calculate info height
|
||||
info_height="$((info_height+=1))"
|
||||
}
|
||||
|
||||
# }}}
|
||||
|
@ -2938,10 +2941,10 @@ dynamicprompt() {
|
|||
# Calculate image height in terminal cells.
|
||||
# The '+ 1' adds a gap between the prompt and the content.
|
||||
if [ "$image" != "ascii" ]; then
|
||||
lines="$((${height:-1} / ${font_height:-1} + 2))"
|
||||
lines="$((${height:-1} / ${font_height:-1} + 3))"
|
||||
cursor_yoffset="$((${yoffset:-1} / ${font_height:-1}))"
|
||||
else
|
||||
cursor_yoffset="0 - 4"
|
||||
cursor_yoffset="0 - 2"
|
||||
fi
|
||||
|
||||
# If the info is higher than the ascii/image place the prompt
|
||||
|
|
Loading…
Reference in a new issue