home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
BTMTSRC3.ZIP
/
GET_KEY.C
< prev
next >
Wrap
Text File
|
1989-10-14
|
253b
|
13 lines
#include <stdio.h>
#include <conio.h>
/* get_key() - P. Fitzsimmons */
int get_key(void)
{
int c = getch();
if(!c || c==0xE0) /* OS/2 returns 0xE0 if one of the grey edit keys are hit */
c = getch()<<8;
return(c);
}