prin: Fix bold not working, Fix color breakage. Closes #407
This commit is contained in:
parent
e0e0c3243c
commit
6ada4c7fb8
4
neofetch
4
neofetch
|
@ -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
|
||||
|
|
Reference in New Issue