Fix glitched line endings on long lines
This commit is contained in:
parent
f03b81a695
commit
48819dc592
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -2397,7 +2397,7 @@ info() {
|
||||||
[ -z "$2" ] && string="${string/*: }"
|
[ -z "$2" ] && string="${string/*: }"
|
||||||
|
|
||||||
# Print the string
|
# Print the string
|
||||||
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))"
|
||||||
|
@ -2432,7 +2432,7 @@ prin() {
|
||||||
string="$(trim "$string")"
|
string="$(trim "$string")"
|
||||||
|
|
||||||
# Print the info
|
# Print the 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))"
|
||||||
|
|
Loading…
Reference in a new issue