summaryrefslogtreecommitdiff
path: root/lib/terminal.mli
diff options
context:
space:
mode:
Diffstat (limited to 'lib/terminal.mli')
-rw-r--r--lib/terminal.mli3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/terminal.mli b/lib/terminal.mli
index f308ede3..49172e3c 100644
--- a/lib/terminal.mli
+++ b/lib/terminal.mli
@@ -46,6 +46,9 @@ val make : ?fg_color:color -> ?bg_color:color ->
val merge : style -> style -> style
(** [merge s1 s2] returns [s1] with all defined values of [s2] overwritten. *)
+val repr : style -> int list
+(** Generate the ANSI code representing the given style. *)
+
val eval : style -> string
(** Generate an escape sequence from a style. *)