package notty

  1. Overview
  2. Docs

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-19-ge035d06 — homepage

Fullscreen input and output

.

module Term : sig ... end

Terminal IO with concurrency.

Inline output

val winsize : Lwt_unix.file_descr -> (int * int) option
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