Travis: Echo length of underline

This commit is contained in:
Dylan Araps 2017-01-28 07:26:43 +11:00
parent 745665b9d1
commit 599ab60909
1 changed files with 2 additions and 0 deletions

View File

@ -2584,6 +2584,8 @@ prin() {
}
get_underline() {
echo "$length"
if [[ "$underline_enabled" == "on" ]]; then
printf -v underline "%${length}s"
printf "%b\n" "${text_padding:+\033[${text_padding}C}${zws}${underline// /$underline_char}${reset} "