Module Notty_async.Term
val create : ?dispose:Base.bool -> ?nosig:Base.bool -> ?mouse:Base.bool -> ?bpaste:Base.bool -> ?reader:Async.Reader.t -> ?writer:Async.Writer.t -> Base.unit -> t Async.Deferred.tval refresh : t -> Base.unit Async.Deferred.tval image : t -> Notty.image -> Base.unit Async.Deferred.tval cursor : t -> (Base.int * Base.int) Base.option -> Base.unit Async.Deferred.tval size : t -> Base.int * Base.intval release : t -> Base.unit Async.Deferred.tRelease the terminal, restoring it to a state where ordinary I/O can be performed.
val events : t -> [ Notty.Unescape.event | `Resize of Base.int * Base.int ] Async.Pipe.Reader.tThis pipe will automatically be shut down once
releaseis called, and closing this pipe will asynchronous triggerreleaseto be called.