Commit ed8c729d authored by Dylan's avatar Dylan

Fixed bug when color blocks wrap to the next line

parent a295181a
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment