From 030a42b42d5f832956546290ced7a4d279709d58 Mon Sep 17 00:00:00 2001 From: The Magician Date: Tue, 7 Nov 2023 15:59:03 +0000 Subject: [PATCH] Add red highlight to security warnings --- thebookofcolors | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thebookofcolors b/thebookofcolors index 13d7fb1..134b765 100755 --- a/thebookofcolors +++ b/thebookofcolors @@ -432,10 +432,10 @@ section_conceal() { printf "\e[8;46mTHIS TEXT IS HIDDEN\e[0m\n" newline - printf "Please note that using this code to hide text is NOT a security feature.\n" + printf "Please note that using this code to hide text is \e[1;31mNOT a security feature\e[0m.\n" printf "You will observe that, if using a pager such as \`less\` to view this text, you will still be able to find all instances of the text using the search function.\n" printf "Likewise, if output from a program which uses this code is redirected to a file, then the \"concealed\" text will be visible in that file.\n" - printf "It is NOT SAFE to output sensitive information, such as passwords or API keys, using this code.\n" + printf "It is \e[1;31mNOT SAFE\e[0m to output sensitive information, such as passwords or API keys, using this code.\n" } section_strikethrough() {