Underlining now works for all the info

This commit is contained in:
Dylan 2016-04-02 12:52:21 +11:00
parent caf507e8b6
commit ca3ab8e47c
3 changed files with 16 additions and 3 deletions

View file

@ -253,7 +253,7 @@ bold="on"
# Enable/Disable Underline
# --underline on/off
underline="on"
underline_enabled="on"
# Underline character
# --underline_char char
@ -2266,7 +2266,7 @@ stdout () {
# Underline {{{
getunderline () {
case "$underline" in
case "$underline_enabled" in
"on")
underline=$(printf %"$length"s)
underline=${underline// /$underline_char}