Commit 3e9c3d64 authored by Dylan Araps's avatar Dylan Araps

Fixed rendering issues with URxvt and XFT fonts, thanks Konimex

parent ee3630af
......@@ -1902,7 +1902,7 @@ getcols() {
# Add newlines to the string.
cols="${cols%%'nl'}"
cols="${cols//nl/\\n${padding}}"
cols="${cols//nl/\\n${padding}}"
fi
}
......@@ -2373,7 +2373,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))"
......@@ -2408,7 +2408,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))"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment