23#ifndef MUTT_KEY_INIT_H
24#define MUTT_KEY_INIT_H
34extern struct MenuDefinitionArray
MenuDefs;
int km_config_observer(struct NotifyCallback *nc)
Notification that a Config Variable has changed - Implements observer_t -.
struct MenuDefinitionArray MenuDefs
All the registered Menus.
keycode_t AbortKey
code of key to abort prompts, normally Ctrl-G
struct SubMenuArray SubMenus
All the registered SubMenus.
void km_menu_add_submenu(struct MenuDefinition *md, struct SubMenu *sm)
Add a SubMenu to a Menu Definition.
void km_cleanup(void)
Free the key maps.
void km_init(void)
Initialise all the menu keybindings.
struct SubMenu * km_register_submenu(const struct MenuFuncOp functions[])
Register a submenu.
struct MenuDefinition * km_register_menu(int menu, const char *name)
Register a menu.
void km_sort(void)
Sort all the menu keybindings.
void km_set_abort_key(void)
Parse the abort_key config string.
void km_menu_add_bindings(struct MenuDefinition *md, const struct MenuOpSeq bindings[])
Add Keybindings to a Menu.
short keycode_t
Type for key storage, the rest of neomutt works fine with int type.
Data passed to a notification function.