summaryrefslogtreecommitdiff
path: root/usr.bin/mg/key.h
blob: b60c36f0b35551a8991ad36d4a73b47164d694d3 (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