|
|
|
|
@ -3804,7 +3804,7 @@ get_cols() { |
|
|
|
|
[${text_padding}C${zws}} |
|
|
|
|
|
|
|
|
|
# Add block height to info height. |
|
|
|
|
((info_height+=block_range[1]>7?block_height+3:block_height+2)) |
|
|
|
|
((info_height+=block_range[1]>7?block_height+2:block_height+1)) |
|
|
|
|
|
|
|
|
|
case $col_offset in |
|
|
|
|
"auto") printf '\n\e[%bC%b\n' "$text_padding" "${zws}${cols}" ;; |
|
|
|
|
@ -3885,7 +3885,14 @@ print_ascii() { |
|
|
|
|
done <<< "${ascii_data//\$\{??\}}" |
|
|
|
|
|
|
|
|
|
# Fallback if file not found. |
|
|
|
|
((lines==1)) && { lines=; ascii_len=; image_source=auto; get_distro_ascii; print_ascii; return; } |
|
|
|
|
((lines==1)) && { |
|
|
|
|
lines= |
|
|
|
|
ascii_len= |
|
|
|
|
image_source=auto |
|
|
|
|
get_distro_ascii |
|
|
|
|
print_ascii |
|
|
|
|
return |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
# Colors. |
|
|
|
|
ascii_data="${ascii_data//\$\{c1\}/$c1}" |
|
|
|
|
|