mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 04:22:32 +00:00
Faster math
This commit is contained in:
4
neofetch
4
neofetch
@@ -2329,7 +2329,7 @@ info() {
|
||||
printf "%b%s\n" "${padding}${string}${reset}"
|
||||
|
||||
# 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}"
|
||||
|
||||
# Calculate info height
|
||||
info_height="$((info_height + 1))"
|
||||
info_height="$((info_height+=1))"
|
||||
}
|
||||
|
||||
# }}}
|
||||
|
||||
Reference in New Issue
Block a user