Notty_lwt
Notty
IO Lwt
on Unix
.
This is an IO module for Notty
.
It mirrors Notty_unix
and the corresponding operations behave analogously. Consult its documentation for more info.
v0.2.2 — homepage
.
module Term : sig ... end
Terminal IO with concurrency.
val winsize : Lwt_unix.file_descr -> (int * int) option
val eol : Notty.image -> Notty.image
val output_image : ?cap:Notty.Cap.t -> ?fd:Lwt_unix.file_descr -> Notty.image -> unit Lwt.t
val output_image_size : ?cap:Notty.Cap.t -> ?fd:Lwt_unix.file_descr -> ((int * int) -> Notty.image) -> unit Lwt.t
val show_cursor : ?cap:Notty.Cap.t -> ?fd:Lwt_unix.file_descr -> bool -> unit Lwt.t
val move_cursor : ?cap:Notty.Cap.t -> ?fd:Lwt_unix.file_descr ->
[ `Home | `By of int * int | `To of int * int ] -> unit Lwt.t