/* Public Domain Curses */
-
+
/* MS C doesn't return flags from int86() */
#ifdef MSC
# define USE_KBHIT
unsigned long PDC_get_input_fd(void);
Description:
- PDC_get_input_fd() returns the file descriptor that PDCurses
+ PDC_get_input_fd() returns the file descriptor that PDCurses
reads its input from. It can be used for select().
Portability X/Open BSD SYS V
{
if (button[i].pressed)
{
- /* Check for a click -- a PRESS followed
+ /* Check for a click -- a PRESS followed
immediately by a release */
if (!button[i].released)
return key;
}
-/* discard any pending keyboard or mouse input -- this is the core
+/* discard any pending keyboard or mouse input -- this is the core
routine for flushinp() */
void PDC_flushinp(void)
{
PDC_LOG(("PDC_flushinp() - called\n"));
- /* Force the BIOS keyboard buffer head and tail pointers to be
+ /* Force the BIOS keyboard buffer head and tail pointers to be
the same... Real nasty trick... */
setdosmemword(0x41a, getdosmemword(0x41c));