Add section on inverted attribute
This commit is contained in:
parent
0fd58581e0
commit
41740d1092
15
termcol
15
termcol
|
@ -74,3 +74,18 @@ printf '\e[5;34m[5;34m Blue\e[0m \e[5;44m[5;44m Blue\e[0m\n'
|
|||
printf '\e[5;35m[5;35m Purple\e[0m \e[5;45m[5;45m Purple\e[0m\n'
|
||||
printf '\e[5;36m[5;36m Cyan\e[0m \e[5;46m[5;46m Cyan\e[0m\n'
|
||||
printf '\e[5;37m[5;37m Light grey\e[0m \e[5;47m[5;47m Light grey\e[0m\n'
|
||||
printf '\n'
|
||||
|
||||
printf '\e[4;37m\e[1;37m7; (Inverse)\e[0m\n'
|
||||
printf 'Causes the foreground and background text to be flipped.\n'
|
||||
printf 'This is mostly a convenient shorthand for avoiding setting the foreground and background text simultaneously when you want one to be the default of the other.\n'
|
||||
printf '\n'
|
||||
printf '\e[4;37mForeground\e[0m \e[4;37mBackground\e[0m\n'
|
||||
printf '\e[7;30m[7;30m Black\e[0m \e[7;40m[7;40m Black\e[0m\n'
|
||||
printf '\e[7;31m[7;31m Red\e[0m \e[7;41m[7;41m Red\e[0m\n'
|
||||
printf '\e[7;32m[7;32m Green\e[0m \e[7;42m[7;42m Green\e[0m\n'
|
||||
printf '\e[7;33m[7;33m Brown\e[0m \e[7;43m[7;43m Brown\e[0m\n'
|
||||
printf '\e[7;34m[7;34m Blue\e[0m \e[7;44m[7;44m Blue\e[0m\n'
|
||||
printf '\e[7;35m[7;35m Purple\e[0m \e[7;45m[7;45m Purple\e[0m\n'
|
||||
printf '\e[7;36m[7;36m Cyan\e[0m \e[7;46m[7;46m Cyan\e[0m\n'
|
||||
printf '\e[7;37m[7;37m Light grey\e[0m \e[7;47m[7;47m Light grey\e[0m\n'
|
||||
|
|
Loading…
Reference in New Issue