]> pd.if.org Git - pd_readline/blob - mg/key.h
Added mg from an OpenBSD mirror site. Many thanks to the OpenBSD team and the mg...
[pd_readline] / mg / key.h
1 /*      $OpenBSD: key.h,v 1.5 2005/06/14 18:14:40 kjell Exp $   */
2
3 /* This file is in the public domain. */
4
5 /* key.h: Insert file for mg 2 functions that need to reference key pressed */
6
7 #define MAXKEY  8                       /* maximum number of prefix chars */
8
9 struct key {                            /* the chacter sequence in a key */
10         int     k_count;                /* number of chars */
11         KCHAR   k_chars[MAXKEY];        /* chars */
12 };
13
14 extern struct key key;