mirror of
https://github.com/hykilpikonna/hyfetch.git
synced 2026-06-15 19:51:06 -05:00
fix issue with cols
This commit is contained in:
parent
98863df16d
commit
29cbbae974
2
neofetch
2
neofetch
|
|
@ -5083,7 +5083,7 @@ get_cols() {
|
|||
printf -v block_spaces "%${block_height}s"
|
||||
|
||||
# Convert the spaces into rows of blocks.
|
||||
if [[ $BASH_VERSION == 3* ]]; then
|
||||
if [ "${BASH_VERSION%%.*}" -lt 5 ]; then
|
||||
[[ "$blocks" ]] && cols+="${block_spaces// /${blocks}[39;49mnl}"
|
||||
[[ "$blocks2" ]] && cols+="${block_spaces// /${blocks2}[39;49mnl}"
|
||||
else
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user