Underline: Fix travis

This commit is contained in:
Dylan Araps 2017-01-28 07:30:13 +11:00
parent 599ab60909
commit 728357f4ad

View file

@ -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