aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--man/einfo.312
1 files changed, 12 insertions, 0 deletions
diff --git a/man/einfo.3 b/man/einfo.3
index 7ea12d27..9ecee2a7 100644
--- a/man/einfo.3
+++ b/man/einfo.3
@@ -33,6 +33,7 @@
.Nm ewarnx , eerrorx ,
.Nm eend , ewend ,
.Nm eendv , ewendv ,
+.Nm ebracket ,
.Nm eindent , eoutdent ,
.Nm eindentv , eoutdentv ,
.Nm eprefix
@@ -61,6 +62,7 @@ Enhanced Informatation output library (libeinfo, -leinfo)
.Ft int Fn ewend "int retval" "const char * restrict format" ...
.Ft int Fn eendv "int retval" "const char * restrict format" ...
.Ft int Fn ewendv "int retval" "const char * restrict format" ...
+.Ft void Fn ebracket "int col" "einfo_color_t color" "const char * restrict msg"
.Ft void Fn eindent void
.Ft void Fn eoutdent void
.Ft void Fn eindentv void
@@ -142,6 +144,16 @@ The value of
.Fa retval
is returned.
.Pp
+.Fn ebracket
+does the same as
+.Fn eend
+but prints
+.Fa msg
+instead of OK or !! in the color
+.Fa color
+at the column
+.Fa col .
+.Pp
.Fn eindent
indents subsequent calls to the above functions by 3 characters.
.Fn eoutdent