package inquire

  1. Overview
  2. Docs
An OCaml library to create beautiful interactive CLIs

Install

Dune Dependency

Authors

Maintainers

Sources

inquire-0.2.1.tbz
sha256=0b88d89e24d4cbc0560a7c8d8ec51388990e1b27f24685029997afa52a7c720f
sha512=8b62860a8d15e41528a404a6f1b9968c3d79755607b5ea319af2e3e45516e672a785361d278279910928db4054e1800e87bcee0210ff3eabfb330713b368c827

doc/inquire.lambda-term/LTerm_vi/Vi/Base/Mode/index.html

Module Base.Mode

module KeyTrie : Trie.Intf with type path = Key.t list
type action =
  1. | Switch of name
  2. | Key of Key.t
  3. | KeySeq of Key.t Queue.t
  4. | Custom of unit -> unit
type t = {
  1. name : name;
  2. timeout : float option;
  3. bindings : action KeyTrie.node;
}
module Modes : Map.S with type key = name
type modes = t Modes.t
val name : t -> name
val timeout : t -> float option
val bindings : t -> action KeyTrie.node
val compare : t -> t -> int
val default_mode : 'a Modes.t -> name * 'a
val bind : t -> KeyTrie.path -> action -> unit
val unbind : t -> KeyTrie.path -> unit
OCaml

Innovation. Community. Security.