Add crossed to ansi-colours, reorder variants
This commit is contained in:
parent
bdd3a88cba
commit
b786ffb514
@ -10,13 +10,14 @@ function _ansi-colors_8()
|
||||
local start="${2}"
|
||||
|
||||
print "\e[1;97m${title}\e[0m:"
|
||||
print "Regular Bold Underline Backgr. Dim Reversed Blinking"
|
||||
print "Regular Bold Underline Italic Crossed Dim Blinking Reversed Background"
|
||||
for n in {${start}..$(( ${start}+7 ))}; do
|
||||
local nbg=$(( ${n}+10 ))
|
||||
print -c "\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[${nbg}m\\\e[${nbg}m\e[m" \
|
||||
"\e[2;${n}m\\\e[2;${n}m\e[m" "\e[7;${n}m\\\e[7;${n}m\e[m" \
|
||||
"\e[5;${n}m\\\e[5;${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" "\e[${nbg}m\\\e[${nbg}m\e[m"
|
||||
done
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user