package incr_dom_keyboard

  1. Overview
  2. Docs

Module Help_text.Command

A Command.t represents the help text for a single command.

type t = {
  1. keys : Keystroke.t list;
  2. description : string;
}
include Ppx_sexp_conv_lib.Sexpable.S with type t := t
val t_of_sexp : Sexplib0__.Sexp.t -> t
val sexp_of_t : t -> Sexplib0__.Sexp.t
module Format : sig ... end
val view : t -> View_spec.t -> Format.t -> Vdom_keyboard__.Import.Vdom.Node.t

view displays a help text line for a single command. For instance, this can be used to display the help text for opening a help menu.

OCaml

Innovation. Community. Security.