From ed8c729df22701fb86f7a9c76756874e2a472996 Mon Sep 17 00:00:00 2001 From: Dylan Date: Sun, 3 Apr 2016 11:58:43 +1000 Subject: [PATCH] Fixed bug when color blocks wrap to the next line --- neofetch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/neofetch b/neofetch index 83a9e10f..ef6fd612 100755 --- a/neofetch +++ b/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))