ansi-colours: Sort colors better if display is narrow
This commit is contained in:
parent
25c887bd38
commit
a649fd2f64
@ -12,7 +12,7 @@ function _ansi-colors_8()
|
||||
print "\e[1;97m${title}:\e[0m"
|
||||
print "Regular Bold Underline Italic Crossed Dim Blinking Reversed"
|
||||
for n in {${start}..$(( ${start}+7 ))}; do
|
||||
print -c "\e[0;${n}m\\\e[0;${n}m\e[m" "\e[1;${n}m\\\e[1;${n}m\e[m" \
|
||||
print -c -a "\e[0;${n}m\\\e[0;${n}m\e[m" "\e[1;${n}m\\\e[1;${n}m\e[m" \
|
||||
"\e[4;${n}m\\\e[4;${n}m\e[m" "\e[3;${n}m\\\e[3;${n}m\e[m" \
|
||||
"\e[9;${n}m\\\e[9;${n}m\e[m" "\e[2;${n}m\\\e[2;${n}m\e[m" \
|
||||
"\e[5;${n}m\\\e[5;${n}m\e[m" "\e[7;${n}m\\\e[7;${n}m\e[m"
|
||||
|
Loading…
x
Reference in New Issue
Block a user