── /reference/api-layers ─────────────────────────────────────────────────────────────────────────────────────
 Overview │ Components │ Interactions │ Styling │ Patterns │ Reference                          theme: default
  Facts               API layers                                                                             ░
▌ API layers          Five layers, one dependency direction: kernel, keys, widgets, interaction, app.        ░
  Keymap              ───────────────────────────────────────────────────────────────────────────────────────░
  Component matrix    ┌─ preview ───────────────────────────────────────────────────────────────────────────┐░
  Non-goals           │ ┌──────────┬───────────────┬──────────────────────────────────┬─────────────────┐   │░
                      │ │ layer    │ import        │ owns                             │ depends on      │   │░
                      │ ├──────────┼───────────────┼──────────────────────────────────┼─────────────────┤   │░
                      │ │ kernel   │ motui.kernel  │ rows, styles, events, frame,     │ stdlib +        │   │░
                      │ │          │               │ selection, clipboard             │ wcwidth         │   │░
                      │ ├──────────┼───────────────┼──────────────────────────────────┼─────────────────┤   │░
                      │ │ keys     │ motui.keys    │ byte decoder, keymaps, terminal  │ kernel          │   │░
                      │ │          │               │ sources                          │                 │   │░
                      │ ├──────────┼───────────────┼──────────────────────────────────┼─────────────────┤   │░
                      │ │ widgets  │ motui.widgets │ every component and the Markdown │ kernel,         │   │░
                      │ │          │               │ engine                           │ keys.keymap     │   │░
                      │ ├──────────┼───────────────┼──────────────────────────────────┼─────────────────┤   │░
                      │ │ interact │ motui.interac │ focus, pointer, gesture, find,   │ kernel + Host   │   │░
                      │ │ ion      │ tion          │ modal, overlays                  │                 │   │░
                      │ ├──────────┼───────────────┼──────────────────────────────────┼─────────────────┤   │░
                      │ │ app      │ motui.app     │ TUI driver and composition root  │ everything      │   │░
                      │ │          │               │                                  │ above           │   │░
                      │ └──────────┴───────────────┴──────────────────────────────────┴─────────────────┘   │░
                      └─────────────────────────────────────────────────────────────────────────────────────┘░
                      Try: none -- a static table; scroll if the stage is short                              ░
                      API: motui / motui.kernel / motui.keys / motui.widgets / motui.interaction / motui.app ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
                                                                                                             ░
c-1..6 section · c-n/c-p topic · tab focus · / palette · c-f find · c-t theme · c-g stats · q quit
theme default · focus navlist · last -                                                   reference/api-layers
