Commit 2b94fbfa authored by Dylan Araps's avatar Dylan Araps

General: Fix artifacts and broken block width in TTYs

parent 1cf49345
......@@ -1738,7 +1738,7 @@ get_cols() {
if [[ "$color_blocks" == "on" ]]; then
# Convert the width to space chars.
printf -v block_width "%${block_width}s"
block_width="${block_width// /}"
block_width="${block_width// /.}"
# Generate the string.
for ((start; start<=end; start++)); do
......@@ -2364,7 +2364,7 @@ get_underline() {
}
get_line_break() {
line_break=" "
line_break="${zws} "
# 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