Commit 6ada4c7f authored by Dylan Araps's avatar Dylan Araps

prin: Fix bold not working, Fix color breakage. Closes #407

parent e0e0c324
......@@ -2352,7 +2352,7 @@ prin() {
# If $2 doesn't exist we format $1 as info
if [ -z "$2" ]; then
subtitle_color="$info_color"
local subtitle_color="$info_color"
bold=
fi
......@@ -2599,7 +2599,7 @@ setcolors() {
color() {
case "$1" in
[0-6]) printf "%b%s" "${reset}\033[3${1}m" ;;
[0-6]) printf "%b%s" "${reset}${bold}\033[3${1}m" ;;
7 | "fg") printf "%b%s" "$reset" ;;
*) printf "%b%s" "\033[38;5;${1}m" ;;
esac
......
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