Faster math
This commit is contained in:
parent
402abf90a8
commit
70fa77b64b
4
neofetch
4
neofetch
|
@ -2329,7 +2329,7 @@ info() {
|
||||||
printf "%b%s\n" "${padding}${string}${reset}"
|
printf "%b%s\n" "${padding}${string}${reset}"
|
||||||
|
|
||||||
# Calculate info height
|
# Calculate info height
|
||||||
info_height="$((info_height + 1))"
|
info_height="$((info_height+=1))"
|
||||||
}
|
}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
@ -2364,7 +2364,7 @@ prin() {
|
||||||
printf "%b%s\n" "${padding}${string}${reset}"
|
printf "%b%s\n" "${padding}${string}${reset}"
|
||||||
|
|
||||||
# Calculate info height
|
# Calculate info height
|
||||||
info_height="$((info_height + 1))"
|
info_height="$((info_height+=1))"
|
||||||
}
|
}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
Reference in New Issue