General: Fix incoreect logging of cols and line breaks
This commit is contained in:
parent
25400f7f00
commit
cf7cc40437
1 changed files with 6 additions and 0 deletions
6
neofetch
6
neofetch
|
@ -1805,6 +1805,9 @@ get_cols() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
unset -v blocks blocks2 cols
|
unset -v blocks blocks2 cols
|
||||||
|
|
||||||
|
# Tell info() that we printed manually.
|
||||||
|
prin=1
|
||||||
}
|
}
|
||||||
|
|
||||||
# IMAGES
|
# IMAGES
|
||||||
|
@ -2418,6 +2421,9 @@ get_line_break() {
|
||||||
|
|
||||||
# Calculate info height.
|
# Calculate info height.
|
||||||
info_height="$((info_height+=1))"
|
info_height="$((info_height+=1))"
|
||||||
|
|
||||||
|
# Tell info() that we printed manually.
|
||||||
|
prin=1
|
||||||
}
|
}
|
||||||
|
|
||||||
get_bold() {
|
get_bold() {
|
||||||
|
|
Loading…
Reference in a new issue