From a8605785eb2475fe9f16c910c8e1fc814d5ffd3b Mon Sep 17 00:00:00 2001 From: "dylan.araps@gmail.com" Date: Sat, 21 Sep 2019 18:32:02 +0000 Subject: docs: update FossilOrigin-Name: cc5f8c63d85d47b2d8605ada569c661e979dddabf719963847f198978514c872 --- kiss | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'kiss') diff --git a/kiss b/kiss index 5f54a86..b886407 100755 --- a/kiss +++ b/kiss @@ -14,6 +14,11 @@ log() { # Print a message prettily. + # + # This function uses the literal escape character (Ctrl+V+Escape) as + # a simple way of *safely* bypassing the escape sequence restrictions + # on 'printf %s'. Cheeky, I know. + # # '\033[1;32m' Set text to color '2' and make it bold. # '\033[m': Reset text formatting. # '${3:-->}': If the 3rd argument is missing, set prefix to '->'. -- cgit v1.2.3