Page
Library
Module
Module type
Parameter
Class
Class type
Source
Notty_lwt.Term
SourceTerminal 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 ->
t
create ~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.
Creating 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.