bl791/IFDB / infocom /interpreters /frotz /old /frotz_ux_input_patch
bl791's picture
download
raw
1.25 kB
*** frotz-2.32/ux_input.c Tue Nov 17 19:52:19 1998
--- frotz-2.32+sz/ux_input.c Fri Nov 20 21:43:24 1998
***************
*** 83,96 ****
if ((ctime.tv_sec >= global_timeout.tv_sec) &&
(ctime.tv_usec >= global_timeout.tv_usec)) {
nodelay(stdscr, FALSE);
! return 0;
}
}
! } while (c == ERR);
nodelay(stdscr, FALSE);
}
/* The easy way. */
! else c = getch();
/* Catch 98% of all input right here... */
if ( ((c >= 32) && (c <= 126)) || (c == 13) || (c == 8))
--- 83,98 ----
if ((ctime.tv_sec >= global_timeout.tv_sec) &&
(ctime.tv_usec >= global_timeout.tv_usec)) {
nodelay(stdscr, FALSE);
! return ZC_TIME_OUT;
}
}
! } while (c == ERR || c == ZC_TIME_OUT);
nodelay(stdscr, FALSE);
}
/* The easy way. */
! else do {
! c = getch();
! } while (c == ZC_TIME_OUT);
/* Catch 98% of all input right here... */
if ( ((c >= 32) && (c <= 126)) || (c == 13) || (c == 8))

Xet Storage Details

Size:
1.25 kB
·
Xet hash:
8c3f404bca954bae89bf2e5b65ff60c45993fb57ad88f19565526aff71574160

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.