* just after it; defaults to the empty string *)
method show : ?msg:string -> unit -> unit
method hide : unit -> unit
-(* method toggle : unit -> unit *)
+ method toggle : unit -> unit
method prompt : string
method set_prompt : string -> unit
method ignore_insert_text_signal: bool -> unit
(** execute a unit -> unit function, if it raises exceptions shows them as
- * errors in the console *)
- method wrap_exn : (unit -> unit) -> unit
+ * errors in the console.
+ * @return true if no exception has been raised, false otherwise *)
+ method wrap_exn : (unit -> unit) -> bool
end
(** @param prompt user prompt (default "# ")