Module Incr_dom_widgets.Help_text.Command

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

type t = {
keys : Keystroke.t list;
description : string;
}
include sig ... end
val t_of_sexp : Base.Sexp.t ‑> t
val sexp_of_t : t ‑> Base.Sexp.t
module Format : sig ... end
val view : t ‑> View_spec.t ‑> Format.t ‑> Incr_dom_widgets__.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.