xref: /openbsd/usr.bin/mg/key.h (revision 4bdff4be)
1 /*	$OpenBSD: key.h,v 1.6 2019/06/22 15:38:15 lum 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 character sequence in a key */
10 	int	k_count;		/* number of chars */
11 	KCHAR	k_chars[MAXKEY];	/* chars */
12 };
13 
14 extern struct key key;
15