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_container/index.html

Module Quickterface_terminal_app.Input_field_containerSource

Sourcetype t
Sourceval make : unit -> t
Sourceval handle_key_event : t -> Notty.Unescape.key -> unit
Sourceval get_input_any_key : t -> refresh_render:(unit -> unit Lwt.t) -> unit -> (unit Lwt.t, Core.Error.t) Core.result
Sourceval get_input_text : prompt:string -> t -> refresh_render:(unit -> unit Lwt.t) -> unit -> (string Lwt.t, Core.Error.t) Core.result
Sourceval get_input_integer : t -> refresh_render:(unit -> unit Lwt.t) -> unit -> (int Lwt.t, Core.Error.t) Core.result
Sourceval get_input_single_selection : t -> refresh_render:(unit -> unit Lwt.t) -> options:'a list -> option_to_string:('a -> string) -> unit -> ('a Lwt.t, Core.Error.t) Core.result
Sourceval get_input_multi_selection : t -> refresh_render:(unit -> unit Lwt.t) -> options:'a list -> option_to_string:('a -> string) -> unit -> ('a list Lwt.t, Core.Error.t) Core.result