Travis: Echo length of underline
This commit is contained in:
parent
745665b9d1
commit
599ab60909
2
neofetch
2
neofetch
|
@ -2584,6 +2584,8 @@ prin() {
|
||||||
}
|
}
|
||||||
|
|
||||||
get_underline() {
|
get_underline() {
|
||||||
|
echo "$length"
|
||||||
|
|
||||||
if [[ "$underline_enabled" == "on" ]]; then
|
if [[ "$underline_enabled" == "on" ]]; then
|
||||||
printf -v underline "%${length}s"
|
printf -v underline "%${length}s"
|
||||||
printf "%b\n" "${text_padding:+\033[${text_padding}C}${zws}${underline// /$underline_char}${reset} "
|
printf "%b\n" "${text_padding:+\033[${text_padding}C}${zws}${underline// /$underline_char}${reset} "
|
||||||
|
|
Reference in New Issue