aboutsummaryrefslogtreecommitdiffhomepage
path: root/vernac/topfmt.mli
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2017-07-05 22:52:09 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2017-07-08 11:31:52 +0200
commitdbf1f8200c6d5d3ddb61aa093376cb78156980e1 (patch)
treef794b67e8498bba9b2b7633e9181a566cba874e2 /vernac/topfmt.mli
parent38a749767b74c1fc67d02948efd13ea8c5cbcd0b (diff)
Adding support for bindings tags to explicit prefix/suffix rather than colors.
This is usable for no-color terminal. For instance, a typical application in mind is the Coq-generate names marker which can be rendered with a color if the interface supports it and a prefix "~" if the interface does not support colors.
Diffstat (limited to 'vernac/topfmt.mli')
-rw-r--r--vernac/topfmt.mli4
1 files changed, 3 insertions, 1 deletions
diff --git a/vernac/topfmt.mli b/vernac/topfmt.mli
index 0e781bcc1..6e006fc6c 100644
--- a/vernac/topfmt.mli
+++ b/vernac/topfmt.mli
@@ -41,11 +41,13 @@ val std_logger : ?pre_hdr:Pp.std_ppcmds -> Feedback.level -> Pp.std_ppcmds ->
val emacs_logger : ?pre_hdr:Pp.std_ppcmds -> Feedback.level -> Pp.std_ppcmds -> unit
(** Color output *)
-val init_color_output : unit -> unit
val clear_styles : unit -> unit
val parse_color_config : string -> unit
val dump_tags : unit -> (string * Terminal.style) list
+(** Initialization of interpretation of tags *)
+val init_terminal_output : color:bool -> unit
+
(** Error printing *)
(* To be deprecated when we can fully move to feedback-based error
printing. *)