Commit 599ab609 authored by Dylan Araps's avatar Dylan Araps

Travis: Echo length of underline

parent 745665b9
...@@ -2584,6 +2584,8 @@ prin() { ...@@ -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} "
......
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