1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00

[term] typedef unsigned char term_event_modifier_T

This commit is contained in:
Witold Filipczyk 2022-01-28 15:07:51 +01:00
parent fe3dbd78e8
commit 534a654eb7

View File

@ -37,7 +37,7 @@ typedef int32_t term_event_key_T;
/** Values for term_event_keyboard.modifier and /** Values for term_event_keyboard.modifier and
* interlink_event_keyboard.modifier */ * interlink_event_keyboard.modifier */
typedef enum { enum term_event_modifier {
KBD_MOD_NONE = 0, KBD_MOD_NONE = 0,
KBD_MOD_SHIFT = 1, KBD_MOD_SHIFT = 1,
KBD_MOD_CTRL = 2, KBD_MOD_CTRL = 2,
@ -48,7 +48,9 @@ typedef enum {
* keystrokes that include it cannot be bound to any actions, * keystrokes that include it cannot be bound to any actions,
* and ELinks will instead insert the characters if possible. */ * and ELinks will instead insert the characters if possible. */
KBD_MOD_PASTE = 8, KBD_MOD_PASTE = 8,
} term_event_modifier_T; };
typedef unsigned char term_event_modifier_T;
/** A key received from a terminal, with modifiers. */ /** A key received from a terminal, with modifiers. */
struct term_event_keyboard { struct term_event_keyboard {