Notty_lwt.TermTerminal IO with concurrency.
For more info, see Notty_unix.Term.
val create : ?dispose:bool -> ?nosig:bool -> ?mouse:bool -> ?bpaste:bool -> ?input:Lwt_unix.file_descr ->
?output:Lwt_unix.file_descr -> unit -> tcreate ~dispose ~nosig ~mouse ~input ~output () creates a new terminal.
Note ~dispose arranges for the terminal to be disposed of at the end of the Lwt main loop, and not at process exit.
val image : t -> Notty.image -> unit Lwt.tval events : t -> [ Notty.Unescape.event | `Resize of int * int ] Lwt_stream.tval size : t -> int * intval fds : t -> Lwt_unix.file_descr * Lwt_unix.file_descrCreating a terminal will install a SIGWINCH handler. The handler should not be replaced directly. This API allows the user to monitor deliveries of the signal.
val winch : unit -> unit Lwt.twinch () is a thread completing after the next SIGWINCH. A single signal delivery will cause the completion of all waiting winch threads.