Fixed bug when color blocks wrap to the next line
This commit is contained in:
parent
a295181a5b
commit
ed8c729df2
1 changed files with 1 additions and 1 deletions
2
neofetch
2
neofetch
|
@ -1846,7 +1846,7 @@ getcols () {
|
|||
while [ $start -le $end ]; do
|
||||
case "$start" in
|
||||
[0-6]) printf "\033[4${start}m%${block_width}s" ;;
|
||||
7) printf "\033[4${start}m%${block_width}s\n${clear}${padding}" ;;
|
||||
7) printf "\033[4${start}m%${block_width}s${clear}\n${padding}" ;;
|
||||
*) printf "\033[48;5;${start}m%${block_width}s" ;;
|
||||
esac
|
||||
start=$((start + 1))
|
||||
|
|
Loading…
Reference in a new issue