Fix glitched line endings on long lines

This commit is contained in:
Dylan Araps 2016-10-17 00:07:30 +11:00
parent f03b81a695
commit 48819dc592
1 changed files with 2 additions and 2 deletions

View File

@ -2397,7 +2397,7 @@ info() {
[ -z "$2" ] && string="${string/*: }"
# Print the string
printf "%b%s\n" "${padding}${string}${reset}"
printf "%b%s\n" "${padding}${string}${reset} "
# Calculate info height
info_height="$((info_height+=1))"
@ -2432,7 +2432,7 @@ prin() {
string="$(trim "$string")"
# Print the info
printf "%b%s\n" "${padding}${string}${reset}"
printf "%b%s\n" "${padding}${string}${reset} "
# Calculate info height
info_height="$((info_height+=1))"