[PR] #314 from thepigeongenerator: fix colours not reverting properly
fix colours not reverting properly
This commit is contained in:
commit
c185f018a4
1 changed files with 2 additions and 2 deletions
4
neofetch
4
neofetch
|
@ -5329,10 +5329,10 @@ get_cols() {
|
|||
# Convert the spaces into rows of blocks.
|
||||
if [ "${BASH_VERSION%%.*}" -lt 5 ]; then
|
||||
[[ "$blocks" ]] && cols+="${block_spaces// /${blocks}[39;49mnl}"
|
||||
[[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}[39;49mnl}"
|
||||
[[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}[0mnl}"
|
||||
else
|
||||
[[ "$blocks" ]] && cols+="${block_spaces// /${blocks}\[39;49mnl}"
|
||||
[[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}\[39;49mnl}"
|
||||
[[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}\[0mnl}"
|
||||
fi
|
||||
|
||||
# Determine the horizontal offset of the blocks.
|
||||
|
|
Loading…
Reference in a new issue