add text in colors
Signed-off-by: GnomeZworc <nicolas.boufidjeline@g3e.fr>
This commit is contained in:
parent
6b9c5e64b8
commit
e398a50337
4 changed files with 38 additions and 7 deletions
|
|
@ -1,5 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
. ./lib/vpc.sh
|
||||
export TERM=xterm-256color
|
||||
|
||||
delete_vpc "${1}"
|
||||
for i in {0..255}; do
|
||||
echo -e "\033[38;5;${i}m$i\t"
|
||||
if (( ($i + 1) % 10 == 0 )); then echo; fi
|
||||
done
|
||||
echo -e "\e[0m"
|
||||
|
||||
printf "\033[38;5;208mTexte en orange (code 208)\033[0m\n"
|
||||
Loading…
Add table
Add a link
Reference in a new issue