Hi all,
For the group's consideration.
[bf]g_bold for both <color> and <bright-color> produces the same result.
bold with the same "intensity" for both <color> or <bright-color>
I assume this is just the way ansi works. There is a way of producing two intensities.
This can be done by adding "faint"(02) to the ansi code to either <color> or
<bright-color>.
If this is something that the group feels could/should be done the following
patch to colors can produce two intensities.
diff --git a/Functions/Misc/colors b/Functions/Misc/colors
index 8a0cec383..fb2548aee 100644
--- a/Functions/Misc/colors
+++ b/Functions/Misc/colors
@@ -120,7 +120,9 @@ bold_color="$lc${color[bold]}$rc"
typeset -AHg fg fg_bold fg_no_bold
for k in ${(k)color[(I)fg-*]}; do
fg[${k#fg-}]="$lc${color[$k]}$rc"
- fg_bold[${k#fg-}]="$lc${color[bold]};${color[$k]}$rc"
+ [[ $k == *bright* ]] \
+ && fg_bold[${k#fg-}]="$lc${color[bold]};${color[$k]}$rc" \
+ || fg_bold[${k#fg-}]="$lc${color[faint]};${color[bold]};${color[$k]}$rc"
fg_no_bold[${k#fg-}]="$lc${color[normal]};${color[$k]}$rc"
done
@@ -129,6 +131,8 @@ done
typeset -AHg bg bg_bold bg_no_bold
for k in ${(k)color[(I)bg-*]}; do
bg[${k#bg-}]="$lc${color[$k]}$rc"
- bg_bold[${k#bg-}]="$lc${color[bold]};${color[$k]}$rc"
+ [[ $k == *bright* ]] \
+ && bg_bold[${k#bg-}]="$lc${color[bold]};${color[$k]}$rc" \
+ || bg_bold[${k#bg-}]="$lc${color[faint]};${color[bold]};${color[$k]}$rc"
bg_no_bold[${k#bg-}]="$lc${color[normal]};${color[$k]}$rc"
done
Regards,
Jim Murphy