General: Fix artifacts and broken block width in TTYs
This commit is contained in:
parent
1cf49345ff
commit
2b94fbfadb
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -1738,7 +1738,7 @@ get_cols() {
|
||||||
if [[ "$color_blocks" == "on" ]]; then
|
if [[ "$color_blocks" == "on" ]]; then
|
||||||
# Convert the width to space chars.
|
# Convert the width to space chars.
|
||||||
printf -v block_width "%${block_width}s"
|
printf -v block_width "%${block_width}s"
|
||||||
block_width="${block_width// /█}"
|
block_width="${block_width// /.}"
|
||||||
|
|
||||||
# Generate the string.
|
# Generate the string.
|
||||||
for ((start; start<=end; start++)); do
|
for ((start; start<=end; start++)); do
|
||||||
|
@ -2364,7 +2364,7 @@ get_underline() {
|
||||||
}
|
}
|
||||||
|
|
||||||
get_line_break() {
|
get_line_break() {
|
||||||
line_break=" "
|
line_break="${zws} "
|
||||||
|
|
||||||
# Calculate info height
|
# Calculate info height
|
||||||
info_height="$((info_height+=1))"
|
info_height="$((info_height+=1))"
|
||||||
|
|
Loading…
Reference in a new issue