summaryrefslogtreecommitdiff
path: root/usr.bin/mg/key.h
blob: 88e8bc1f1c7ce08ba67ff6695c8c6197d435d6d5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
/* key.h: Insert file for mg 2 functions that need to reference key pressed */

#ifndef EXTERN
#define EXTERN	extern
#endif

#define MAXKEY	8			/* maximum number of prefix chars */

EXTERN	struct {			/* the chacter sequence in a key */
	int	k_count;		/* number of chars		*/
	KCHAR	k_chars[MAXKEY];	/* chars			*/
}	key;
#undef	EXTERN