package symphony-orchestrator-tui

  1. Overview
  2. Docs

Module Tui.Key

type event = {
  1. name : string;
  2. sequence : string;
  3. ctrl : bool;
  4. shift : bool;
  5. alt : bool;
}
val make : ?ctrl:??? -> ?shift:??? -> ?alt:??? -> name:string -> sequence:string -> unit -> event
val ctrl_name : char -> string
val of_sequence : string -> event
val read_sequence : Unix.file_descr -> string option
val read : Unix.file_descr -> event option