summaryrefslogtreecommitdiff
path: root/usr.bin/mg/key.h
blob: bd79463ffb06b493cdbd62cd42ace0d4d3cee505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
/*	$OpenBSD: key.h,v 1.4 2004/02/01 22:26:41 vincent Exp $	*/

/* key.h: Insert file for mg 2 functions that need to reference key pressed */

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

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

extern struct key key;