diff options
| author | Pierre-Marie Pédrot | 2015-05-14 12:49:41 +0200 |
|---|---|---|
| committer | Pierre-Marie Pédrot | 2015-05-14 13:02:17 +0200 |
| commit | 5f8dc36fb2d65699233b9ac9a3ff9f93701a01cb (patch) | |
| tree | 57855137873a81f1b026b8be73560c71a9915acb /lib/terminal.mli | |
| parent | 81eb133d64ac81cbf6962d624b20c1aa55c2baae (diff) | |
The -list-tag options now prints the corresponding COQ_COLORS value.
Diffstat (limited to 'lib/terminal.mli')
| -rw-r--r-- | lib/terminal.mli | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/terminal.mli b/lib/terminal.mli index f308ede323..49172e3ce3 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. *) |
