Fixed rendering issues with URxvt and XFT fonts, thanks Konimex
This commit is contained in:
parent
ee3630af40
commit
3e9c3d648c
1 changed files with 3 additions and 3 deletions
6
neofetch
6
neofetch
|
@ -1902,7 +1902,7 @@ getcols() {
|
||||||
|
|
||||||
# Add newlines to the string.
|
# Add newlines to the string.
|
||||||
cols="${cols%%'nl'}"
|
cols="${cols%%'nl'}"
|
||||||
cols="${cols//nl/\\n${padding}}"
|
cols="${cols//nl/\\n${padding}}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -2373,7 +2373,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))"
|
||||||
|
@ -2408,7 +2408,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