Color Blocks: Fix issue when cols function is called more than once

This commit is contained in:
Dylan Araps 2016-11-26 16:20:22 +11:00
parent f6ab18dec9
commit 1c3db96a8d

View file

@ -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