OCaml port of Linenoise
2
fork

Configure Feed

Select the types of activity you want to include in your feed.

Add .mli

+11
+11
src/bruit.mli
··· 1 + (** {! Bruit} is a port of the C library 2 + {{:https://github.com/antirez/linenoise} Linenoise} to OCaml. It is not as 3 + feature complete as the library, contributions are very welcome. 4 + 5 + The main entry point to the library is {! bruit}. *) 6 + 7 + type result = String of string option | Ctrl_c 8 + 9 + val bruit : string -> result 10 + (** [bruit prompt] reads from [stdin] and returns the read string if any, and on 11 + [ctrl+c] returns {! Ctrl_c}. *)