package inquire
An OCaml library to create beautiful interactive CLIs
Install
dune-project
Dependency
Authors
Maintainers
Sources
inquire-0.2.1.tbz
sha256=0b88d89e24d4cbc0560a7c8d8ec51388990e1b27f24685029997afa52a7c720f
sha512=8b62860a8d15e41528a404a6f1b9968c3d79755607b5ea319af2e3e45516e672a785361d278279910928db4054e1800e87bcee0210ff3eabfb330713b368c827
doc/inquire.lambda-term/LTerm_key/index.html
Module LTerm_key
Keys
type code =
| Char of Uchar.t
(*A unicode character.
*)| Enter
| Escape
| Tab
| Up
| Down
| Left
| Right
| F1
| F2
| F3
| F4
| F5
| F6
| F7
| F8
| F9
| F10
| F11
| F12
| Next_page
| Prev_page
| Home
| End
| Insert
| Delete
| Backspace
Type of key code.
type t = {
control : bool;
(*Is the control key down ?
*)meta : bool;
(*Is the meta key down ?
*)shift : bool;
(*Is the shift key down ?
*)code : code;
(*The code of the key.
*)
}
Type of key.
val control : t -> bool
val meta : t -> bool
val to_string : t -> string
Returns the string representation of the given key.
val to_string_compact : t -> string
Returns the string representation of the given key in the form "C-M-a".
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>