From 41740d10922583ee3d3b8e29a7fae7239ed77140 Mon Sep 17 00:00:00 2001 From: The Magician Date: Sat, 4 Nov 2023 17:07:02 +0000 Subject: [PATCH] Add section on inverted attribute --- termcol | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/termcol b/termcol index ec58e2d..72c11be 100755 --- a/termcol +++ b/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'