Color Blocks: Fix issue when cols function is called more than once
This commit is contained in:
parent
f6ab18dec9
commit
1c3db96a8d
1 changed files with 2 additions and 0 deletions
2
neofetch
2
neofetch
|
@ -1847,6 +1847,8 @@ get_cols() {
|
||||||
cols="${cols%%'nl'}"
|
cols="${cols%%'nl'}"
|
||||||
cols="${cols//nl/\\n\\033[${text_padding}C${zws}}"
|
cols="${cols//nl/\\n\\033[${text_padding}C${zws}}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
unset blocks blocks2
|
||||||
}
|
}
|
||||||
|
|
||||||
# IMAGES
|
# IMAGES
|
||||||
|
|
Loading…
Reference in a new issue