Commit 728357f4 authored by Dylan Araps's avatar Dylan Araps

Underline: Fix travis

parent 599ab609
...@@ -2584,11 +2584,9 @@ prin() { ...@@ -2584,11 +2584,9 @@ 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_color}${underline// /$underline_char}${reset} "
unset -v length unset -v length
fi fi
prin=1 prin=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