package quickterface

  1. Overview
  2. Docs
Quick-to-program app interfaces in OCaml for terminal and web

Install

dune-project
 Dependency

Authors

Maintainers

Sources

quickterface-0.1.0.tbz
sha256=8261e3819564fb5d05f1f313e62b73382152591d7a4349ae5b1b08a4fc2469f3
sha512=e739a971bb0e696ab716c168419c59a3d195922d2d1e4963106a845e3442ffa085b05106f36cceeec9b806bf7d6ef2c31e98db04911fbf73c5ac0ce626449d0f

doc/quickterface.terminal_app/Quickterface_terminal_app/Input_field/index.html

Module Quickterface_terminal_app.Input_fieldSource

Sourcetype t
Sourceval make_any_key : resolver:unit Lwt.u -> unit -> t
Sourceval make_text : prompt:string -> resolver:string Lwt.u -> unit -> t
Sourceval make_integer : resolver:int Lwt.u -> unit -> t
Sourceval make_single_selection : resolver:'a Lwt.u -> options:'a list -> option_to_string:('a -> string) -> unit -> t
Sourceval make_multi_selection : resolver:'a list Lwt.u -> options:'a list -> option_to_string:('a -> string) -> unit -> t
Sourceval injest_key_event : t -> Notty.Unescape.key -> [ `Updated_to of t | `Ready_to_be_destroyed ]