Break message type stuff out into its own header.

This commit is contained in:
nicm
2021-08-13 07:37:58 +00:00
parent 2bb0b9d6c5
commit 13a0da205b
3 changed files with 131 additions and 105 deletions

View File

@@ -58,6 +58,17 @@ static int tty_keys_device_attributes(struct tty *, const char *, size_t,
static int tty_keys_extended_device_attributes(struct tty *, const char *,
size_t, size_t *);
/* A key tree entry. */
struct tty_key {
char ch;
key_code key;
struct tty_key *left;
struct tty_key *right;
struct tty_key *next;
};
/* Default raw keys. */
struct tty_default_key_raw {
const char *string;