package miaou-core

  1. Overview
  2. Docs
Miaou core/widgets (no drivers, no SDL)

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v0.5.2.tar.gz
md5=60a3b9f181f24572a06a9492532bfdda
sha512=fcc35a275066be2900e6201782faf47503076fa4640f08cf78067835a6f447b74613009e55b2ac799adb7ca46f1bffa261fc5971753f2cc3c6bef327511c7ef6

doc/miaou-core.core/Miaou_core/Registry/index.html

Module Miaou_core.RegistrySource

Sourcetype page = (module Tui_page.PAGE_SIG)
Sourceval register : string -> page -> unit
Sourceval register_once : string -> page -> bool
Sourceval find : string -> page option
Sourceval list : unit -> (string * page) list
Sourceval exists : string -> bool
Sourceval unregister : string -> unit
Sourceval list_names : unit -> string list
Sourceval register_lazy : string -> (unit -> page) -> unit

Register a page via a thunk, created on first use. Useful to avoid heavy deps at load time.

Sourceval override : string -> page -> unit

Override an existing page registration.

Sourceval check_all_conflicts : unit -> (string * string list) list

Check for key conflicts between all registered pages. Returns a list of (key_string, page_names) where multiple pages handle the same key.

Sourceval conflict_report : unit -> string option

Get a human-readable report of key conflicts, if any exist. Returns None if no conflicts, Some report_string if conflicts found.