mirror of
https://github.com/dylanaraps/neofetch.git
synced 2025-12-24 04:22:32 +00:00
Fixed bug when color blocks wrap to the next line
This commit is contained in:
2
neofetch
2
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))
|
||||
|
||||
Reference in New Issue
Block a user