aboutsummaryrefslogtreecommitdiff
path: root/kiss
diff options
context:
space:
mode:
authordylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-21 18:32:02 +0000
committerdylan.araps@gmail.com <dylan.araps@gmail.com>2019-09-21 18:32:02 +0000
commita8605785eb2475fe9f16c910c8e1fc814d5ffd3b (patch)
tree10fe03a0f1a73c71b09c6ab62f23677c1a5e5c03 /kiss
parentee96f67f988f33d115757dea507c5476c7e7e610 (diff)
downloadcpt-a8605785eb2475fe9f16c910c8e1fc814d5ffd3b.tar.gz
docs: update
FossilOrigin-Name: cc5f8c63d85d47b2d8605ada569c661e979dddabf719963847f198978514c872
Diffstat (limited to 'kiss')
-rwxr-xr-xkiss5
1 files changed, 5 insertions, 0 deletions
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 '->'.