forked from kiss-community/kiss
docs: update
This commit is contained in:
parent
43205208b1
commit
9aac9eadea
5
kiss
5
kiss
@ -14,6 +14,11 @@
|
|||||||
|
|
||||||
log() {
|
log() {
|
||||||
# Print a message prettily.
|
# 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[1;32m' Set text to color '2' and make it bold.
|
||||||
# '\033[m': Reset text formatting.
|
# '\033[m': Reset text formatting.
|
||||||
# '${3:-->}': If the 3rd argument is missing, set prefix to '->'.
|
# '${3:-->}': If the 3rd argument is missing, set prefix to '->'.
|
||||||
|
Loading…
Reference in New Issue
Block a user