NeoMutt  2025-12-11-911-gd8d604
Teaching an old dog new tricks
DOXYGEN
Loading...
Searching...
No Matches
notify.h
Go to the documentation of this file.
1
22
23#ifndef MUTT_KEY_NOTIFY_H
24#define MUTT_KEY_NOTIFY_H
25
26#include "get.h"
27#include "keymap.h"
28
33{
34 const struct MenuDefinition *menu;
35 const char *key;
36 int op;
37};
38
53
64
71{
73};
74
75#endif /* MUTT_KEY_NOTIFY_H */
Get a key from the user.
#define KEY_SEQ_MAX_LEN
Maximum number of keys in a key sequence, e.g. abc
Definition get.h:48
NotifyBinding
Key Binding notification types.
Definition notify.h:47
@ NT_MACRO_ADD
Key macro has been added.
Definition notify.h:50
@ NT_MACRO_DELETE
Key macro has been deleted.
Definition notify.h:51
@ NT_BINDING_DELETE
Key binding has been deleted.
Definition notify.h:49
@ NT_BINDING_ADD
Key binding has been added.
Definition notify.h:48
NotifyKey
Key runtime notification types.
Definition notify.h:71
@ NT_KEY_PROGRESS
Key state has changed.
Definition notify.h:72
Keymap handling.
short keycode_t
Type for key storage, the rest of neomutt works fine with int type.
Definition keymap.h:31
A key binding Event.
Definition notify.h:33
const char * key
Key string being bound (for new bind/macro)
Definition notify.h:35
int op
Operation the key's bound to (for bind), e.g. OP_DELETE.
Definition notify.h:36
const struct MenuDefinition * menu
Menu Definition.
Definition notify.h:34
Runtime key progress event.
Definition notify.h:58
short key_len
Number of keys entered.
Definition notify.h:61
keycode_t keys[KEY_SEQ_MAX_LEN]
Entered keys.
Definition notify.h:62
const struct MenuDefinition * md
Menu being matched.
Definition notify.h:59
int count
Parsed count prefix, if any.
Definition notify.h:60
Functions for a Dialog or Window.
Definition menu.h:77