1
0
Fork 0

ansi-colours: Add italic to modifier example

This commit is contained in:
tastytea 2022-04-04 05:22:26 +02:00
parent 00c7c2bc76
commit 975ae6087c
Signed by: tastytea
SSH Key Fingerprint: SHA256:FBkvrOlhq5use1XEttyUGT4bUTDVA1ar9SgIc9P03cM
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ function _ansi-colors_256()
print -C 6 -a ${colours}
print "\e[1;97mBackground:\e[0m 48 instead of 38"
print "Prepend 1; for bold, 3; for italic and so on (example: \e[1;38;5;218m\\\e[1;38;5;218m\e[0m)"
print "Prepend 1; for bold, 3; for italic and so on (example: \e[1;3;38;5;218m\\\e[1;3;38;5;218m\e[0m)"
print "\n\e[1;97mTrue colour:\e[0m \\\e[38;2;\e[0;31mR\e[0m;\e[0;32mG\e[0m;\e[0;34mB\e[0mm" \
"and \\\e[48;2;\e[0;41mR\e[0m;\e[0;42mG\e[0m;\e[0;44mB\e[0mm"
}