home *** CD-ROM | disk | FTP | other *** search
- /* Copyright (C) 1993 Marc Stern (internet: stern@mble.philips.be) */
-
- #include "tools.h"
- #include <conio.h>
-
- /***
- *
- * Function : getkey
- *
- * Description : return a 2-bytes key pressed
- * (extended characters are added to 256).
- *
- */
-
- int getkey( void )
-
- { int car;
-
- if ( ! (car = getch()) ) car = 256 + getch();
-
- return car;
- }
-