Add underscore table

This commit is contained in:
The Magician 2023-11-04 16:55:29 +00:00
parent be67bb14ba
commit 1a2453c1c8
1 changed files with 16 additions and 1 deletions

17
termcol
View File

@ -25,7 +25,6 @@ printf '\e[37m[37m Light grey\e[0m \e[47m[47m Light grey\e[0m\n'
printf '\n'
printf '\e[4;37m\e[1;37mExtra Attributes\e[0m\n'
printf 'Extra attributes can be given by placing a numeric value (representing the attribute) followed by a '';'' after the ''['' character.\n'
printf '\n'
@ -45,3 +44,19 @@ printf '\e[1;34m[1;34m Light blue\e[0m \e[1;44m[1;44m Light blue\e[0m\n'
printf '\e[1;35m[1;35m Light purple\e[0m \e[1;45m[1;45m Light purple\e[0m\n'
printf '\e[1;36m[1;36m Light cyan\e[0m \e[1;46m[1;46m Light cyan\e[0m\n'
printf '\e[1;37m[1;37m White\e[0m \e[1;47m[1;47m White\e[0m\n'
printf '\n'
printf '\e[4;37m\e[1;37m4; (Underscore)\e[0m\n'
printf '\n'
printf 'This attribute displays text with an underline.\n'
printf 'If the underline is always displayed in the foreground color. See the table below for more detail.\n'
printf '\n'
printf '\e[4;37mForeground\e[0m \e[4;37mBackground\e[0m\n'
printf '\e[4;30m[4;30m Black\e[0m \e[4;40m[4;40m Black\e[0m\n'
printf '\e[4;31m[4;31m Red\e[0m \e[4;41m[4;41m Red\e[0m\n'
printf '\e[4;32m[4;32m Green\e[0m \e[4;42m[4;42m Green\e[0m\n'
printf '\e[4;33m[4;33m Brown\e[0m \e[4;43m[4;43m Brown\e[0m\n'
printf '\e[4;34m[4;34m Blue\e[0m \e[4;44m[4;44m Blue\e[0m\n'
printf '\e[4;35m[4;35m Purple\e[0m \e[4;45m[4;45m Purple\e[0m\n'
printf '\e[4;36m[4;36m Cyan\e[0m \e[4;46m[4;46m Cyan\e[0m\n'
printf '\e[4;37m[4;37m Light grey\e[0m \e[4;47m[4;47m Light grey\e[0m\n'