Fix quotes in subtitles on iOS
This commit is contained in:
parent
ba7ed6280b
commit
1686dd141b
7
neofetch
7
neofetch
|
@ -2209,15 +2209,18 @@ prin() {
|
||||||
bold=
|
bold=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Reset colors/bold
|
||||||
|
reset="\033[0m"
|
||||||
|
|
||||||
# Format the output
|
# Format the output
|
||||||
string="${string/:/"\033[0m"${colon_color}:${info_color}}"
|
string="${string/:/${reset}${colon_color}:${info_color}}"
|
||||||
string="${subtitle_color}${bold}${string}"
|
string="${subtitle_color}${bold}${string}"
|
||||||
|
|
||||||
# Trim whitespace
|
# Trim whitespace
|
||||||
string="$(trim "$string")"
|
string="$(trim "$string")"
|
||||||
|
|
||||||
# Print the info
|
# Print the info
|
||||||
printf "%b%s\n" "${padding}${string}\033[0m"
|
printf "%b%s\n" "${padding}${string}${reset}"
|
||||||
}
|
}
|
||||||
|
|
||||||
# }}}
|
# }}}
|
||||||
|
|
Reference in New Issue