Commit 68f6524a authored by Dylan Araps's avatar Dylan Araps

Keep old format behaviour

parent 59147b99
......@@ -2530,6 +2530,12 @@ prin () {
string="$(printf "%.$((columns - ${padding_num/C} - gap))s" "$string")"
fi
# If $2 doesn't exist we format $1 as info
if [ -z "$2" ]; then
subtitle_color="$info_color"
bold=
fi
# Format the output
string="${string/:/"\033[0m"${colon_color}:${info_color}}"
string="${subtitle_color}${bold}${string}"
......
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